From f9ff5b36bfc4dcda86e00d391322e6c52a5c672b Mon Sep 17 00:00:00 2001 From: Mike Macgirvin Date: Thu, 7 Oct 2010 21:18:26 -0700 Subject: [PATCH] match patterns against the encoder --- include/html2bbcode.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/html2bbcode.php b/include/html2bbcode.php index 80841375e8..31ede1a8e6 100644 --- a/include/html2bbcode.php +++ b/include/html2bbcode.php @@ -17,8 +17,7 @@ $htmltags = array( '/\(.*?)\<\/strong\>/is', '/\(.*?)\<\/a\>/is', '/\(.*?)\<\/code\>/is', - '/\(.*?)\<\/font\>/is', - '/\(.*?)\<\/font\>/is', + '/\(.*?)\<\/span\>/is', '/\(.*?)\<\/blockquote\>/is', ); @@ -37,7 +36,6 @@ $bbtags = array( '[url=$1]$3[/url]', '[code]$1[/code]', '[color="$1"]$2[/color]', - '[color="$1"]$2[/color]', '[quote]$1[/quote]', );