Remove extra blank lines at end of article when using Quote.

This commit is contained in:
Retro_Guy 2024-06-25 23:26:32 -07:00
parent 3bb2f3beb8
commit 8f4c7c9978
1 changed files with 3 additions and 3 deletions

View File

@ -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 '</textarea></td></tr><tr><td>';
if (! $post_autoquote) {
echo '<input type="hidden" id="hidebody"';
echo 'value="';
if (isset($bodyzeile)) {
echo htmlspecialchars($bodyzeile);
echo htmlspecialchars(rtrim($bodyzeile) . "\n");
}
echo '">';