]> git.mxchange.org Git - friendica.git/commitdiff
Fixed whitespace issue causing trueish results in templates.
authorBeanow <beanow@project-virality.com>
Sun, 7 Sep 2014 13:48:44 +0000 (15:48 +0200)
committerBeanow <beanow@project-virality.com>
Sun, 7 Sep 2014 13:48:44 +0000 (15:48 +0200)
For example: profiles would show labels with no content.

include/text.php

index 00cbc2b5926020614c053e406deb3003b2f332d5..b20afd93360e771c3e51b3ec979d71b42f271ee8 100644 (file)
@@ -1503,7 +1503,7 @@ function prepare_text($text) {
        else
                $s = smilies(bbcode($text));
 
-       return $s;
+       return trim($s);
 }}