diff --git a/include/text.php b/include/text.php index 00cbc2b592..b20afd9336 100644 --- a/include/text.php +++ b/include/text.php @@ -1503,7 +1503,7 @@ function prepare_text($text) { else $s = smilies(bbcode($text)); - return $s; + return trim($s); }}