From: Beanow Date: Sun, 7 Sep 2014 13:48:44 +0000 (+0200) Subject: Fixed whitespace issue causing trueish results in templates. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2fe79c564b18c91bb505a7fd41f529403b63f5b2;p=friendica.git Fixed whitespace issue causing trueish results in templates. For example: profiles would show labels with no content. --- 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); }}