From: hauke Date: Thu, 19 Mar 2015 21:04:41 +0000 (+0100) Subject: bugfix #1307 X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b2a86ceeaa10e65ae9f150967d6e44662b405ca5;p=friendica.git bugfix #1307 --- diff --git a/include/bbcode.php b/include/bbcode.php index 3cf67af692..63406689a1 100644 --- a/include/bbcode.php +++ b/include/bbcode.php @@ -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 = "";