From 8f4c7c997879a396c53bebfadfe3c835638009c0 Mon Sep 17 00:00:00 2001 From: Retro_Guy Date: Tue, 25 Jun 2024 23:26:32 -0700 Subject: [PATCH] Remove extra blank lines at end of article when using Quote. --- Rocksolid_Light/rocksolid/post.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Rocksolid_Light/rocksolid/post.php b/Rocksolid_Light/rocksolid/post.php index e3b64ce..45627d8 100644 --- a/Rocksolid_Light/rocksolid/post.php +++ b/Rocksolid_Light/rocksolid/post.php @@ -479,15 +479,15 @@ if ($show == 1) { $bodyzeile = wrap_post($bodyzeile); if ((isset($bodyzeile)) && ($post_autoquote)) - echo htmlspecialchars($bodyzeile); + echo htmlspecialchars(rtrim($bodyzeile) . "\n"); if (is_string($body)) - echo htmlspecialchars($body); + echo htmlspecialchars(rtrim($body) . "\n"); echo ''; if (! $post_autoquote) { echo '';