]> git.mxchange.org Git - friendica.git/commitdiff
bugfix #1307
authorhauke <hauke@grlg.org>
Thu, 19 Mar 2015 21:04:41 +0000 (22:04 +0100)
committerfabrixxm <fabrix.xm@gmail.com>
Sun, 22 Mar 2015 09:02:00 +0000 (10:02 +0100)
include/bbcode.php

index 3cf67af692d58c35cb3fb2a2b65dc4231e093ff8..63406689a160ba20da15a1c9c68b724c627ce43b 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 = "";