]> git.mxchange.org Git - friendica.git/commitdiff
Merge pull request #1127 from Beanow/hotfix/whitespace-issue
authortobiasd <tobias.diekershoff@gmx.net>
Sun, 7 Sep 2014 14:22:37 +0000 (16:22 +0200)
committertobiasd <tobias.diekershoff@gmx.net>
Sun, 7 Sep 2014 14:22:37 +0000 (16:22 +0200)
Fixed whitespace issue causing trueish results in templates.

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);
 }}