match patterns against the encoder

This commit is contained in:
Mike Macgirvin 2010-10-07 21:18:26 -07:00
parent ee1162f2db
commit f9ff5b36bf

View file

@ -17,8 +17,7 @@ $htmltags = array(
'/\<strong\>(.*?)\<\/strong\>/is', '/\<strong\>(.*?)\<\/strong\>/is',
'/\<a href=\"(.*?)\"(.*?)\>(.*?)\<\/a\>/is', '/\<a href=\"(.*?)\"(.*?)\>(.*?)\<\/a\>/is',
'/\<code\>(.*?)\<\/code\>/is', '/\<code\>(.*?)\<\/code\>/is',
'/\<font color=(.*?)\>(.*?)\<\/font\>/is', '/\<span style=\"color:(.*?)\"\>(.*?)\<\/span\>/is',
'/\<font color=\"(.*?)\"\>(.*?)\<\/font\>/is',
'/\<blockquote\>(.*?)\<\/blockquote\>/is', '/\<blockquote\>(.*?)\<\/blockquote\>/is',
); );
@ -37,7 +36,6 @@ $bbtags = array(
'[url=$1]$3[/url]', '[url=$1]$3[/url]',
'[code]$1[/code]', '[code]$1[/code]',
'[color="$1"]$2[/color]', '[color="$1"]$2[/color]',
'[color="$1"]$2[/color]',
'[quote]$1[/quote]', '[quote]$1[/quote]',
); );