From 7b3cef4a9be7f62a62b1650652fdf2c144e3d14a Mon Sep 17 00:00:00 2001 From: Shish Date: Thu, 8 Oct 2009 02:41:35 +0100 Subject: [PATCH] easier to style quotes --- ext/bbcode/main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);