diff --git a/ext/bbcode/main.php b/ext/bbcode/main.php index d8097738..5695ad9b 100644 --- a/ext/bbcode/main.php +++ b/ext/bbcode/main.php @@ -22,7 +22,7 @@ class BBCode extends FormatterExtension { $text = preg_replace("/\n\s*\n/", "\n\n", $text); $text = str_replace("\n", "\n
", $text); $text = preg_replace("/\[quote\](.*?)\[\/quote\]/s", "
\\1
", $text); - $text = preg_replace("/\[quote=(.*?)\](.*?)\[\/quote\]/s", "Quoting \\1
\\2
", $text); + $text = preg_replace("/\[quote=(.*?)\](.*?)\[\/quote\]/s", "
\\1 said:
\\2
", $text); $text = preg_replace("/\[h1\](.*?)\[\/h1\]/s", "

\\1

", $text); $text = preg_replace("/\[h2\](.*?)\[\/h2\]/s", "

\\1

", $text); $text = preg_replace("/\[h3\](.*?)\[\/h3\]/s", "

\\1

", $text);