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 '

'.str_replace(array('[', '\\"'), array('[', '"'), $matches[2]).__('wrote', 'luna') ."

"; }, $text); + $text = preg_replace_callback('%\[quote=("|&\#039;|"|\'|)([^\r\n]*?)\\1\]%s', function($matches) { return '

'.str_replace(array('[', '\\"'), array('[', '"'), $matches[2])." ".__('wrote', 'luna') ."

"; }, $text); $text = preg_replace('%\s*\[\/quote\]%S', '

', $text); }