]> git.mxchange.org Git - friendica.git/blobdiff - include/bbcode.php
Merge pull request #1433 from tugelbend/develop
[friendica.git] / 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("[", "]"), $title);
 
                        $image = "";