From 7a5c85f62844c1e1cad80a8aa80571d4a967866b Mon Sep 17 00:00:00 2001 From: Thomas Willingham Date: Fri, 1 Jun 2012 23:31:07 +0100 Subject: [PATCH] [quote=somebody] was appearing as an extended spoiler tag. --- include/bbcode.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/bbcode.php b/include/bbcode.php index 85d310b75..ba4863de1 100644 --- a/include/bbcode.php +++ b/include/bbcode.php @@ -226,7 +226,7 @@ function bbcode($Text,$preserve_nl = false) { $endlessloop = 0; while ((strpos($Text, "[/quote]")!== false) and (strpos($Text, "[quote=") !== false) and (++$endlessloop < 20)) $Text = preg_replace("/\[quote=[\"\']*(.*?)[\"\']*\](.*?)\[\/quote\]/ism", - "
" . $t_wrote . "
$2
", + "
" . $t_wrote . "
$2
", $Text); // [img=widthxheight]image source[/img]