Merge pull request #1433 from tugelbend/develop

bugfix #1307
This commit is contained in:
fabrixxm 2015-03-22 09:55:45 +01:00
commit 1b2a90a10f
1 changed files with 1 additions and 1 deletions

View 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 = "";