]> git.mxchange.org Git - friendica.git/commitdiff
bugfix #1307
authorhauke <hauke@grlg.org>
Thu, 19 Mar 2015 21:04:41 +0000 (22:04 +0100)
committerhauke <hauke@grlg.org>
Thu, 19 Mar 2015 21:04:41 +0000 (22:04 +0100)
include/bbcode.php

index c08c6d4d95682e83e5691e5587cf21603d8b8147..73e2d67413210a8ad20a30b9b2636d7edf3617a2 100644 (file)
@@ -42,7 +42,7 @@ function bb_attachment($Text, $plaintext = false, $tryoembed = true) {
                                $title = $matches[1];
 
                        //$title = htmlentities($title, ENT_QUOTES, 'UTF-8', false);
-                       $title = bbcode(html_entity_decode($title), false, false, true);
+                       $title = bbcode(html_entity_decode($title, ENT_QUOTES, 'UTF-8'), false, false, true);
                        $title = str_replace(array("[", "]"), array("&#91;", "&#93;"), $title);
 
                        $image = "";