diff --git a/include/parser.php b/include/parser.php index 783dbe008..952865072 100755 --- a/include/parser.php +++ b/include/parser.php @@ -701,7 +701,7 @@ function do_bbcode($text, $is_signature = false) if (strpos($text, '[quote') !== false) { $text = preg_replace('%\[quote\]\s*%', '
', $text); - $text = preg_replace_callback('%\[quote=("|&\#039;|"|\'|)([^\r\n]*?)\\1\]%s', function($matches) { return '
"; }, $text); + $text = preg_replace_callback('%\[quote=("|&\#039;|"|\'|)([^\r\n]*?)\\1\]%s', function($matches) { return '
"; }, $text); $text = preg_replace('%\s*\[\/quote\]%S', '
', $text); }