diff options
author | Mike Macgirvin <mike@macgirvin.com> | 2010-10-07 21:18:26 -0700 |
---|---|---|
committer | Mike Macgirvin <mike@macgirvin.com> | 2010-10-07 21:18:26 -0700 |
commit | f9ff5b36bfc4dcda86e00d391322e6c52a5c672b (patch) | |
tree | f3cdbda9b3e6a8d4390086d7acc0bc7e72765f08 | |
parent | ee1162f2db7262b4a130c3e438984719abdd6458 (diff) | |
download | volse-hubzilla-f9ff5b36bfc4dcda86e00d391322e6c52a5c672b.tar.gz volse-hubzilla-f9ff5b36bfc4dcda86e00d391322e6c52a5c672b.tar.bz2 volse-hubzilla-f9ff5b36bfc4dcda86e00d391322e6c52a5c672b.zip |
match patterns against the encoder
-rw-r--r-- | include/html2bbcode.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/html2bbcode.php b/include/html2bbcode.php index 80841375e..31ede1a8e 100644 --- a/include/html2bbcode.php +++ b/include/html2bbcode.php @@ -17,8 +17,7 @@ $htmltags = array( '/\<strong\>(.*?)\<\/strong\>/is', '/\<a href=\"(.*?)\"(.*?)\>(.*?)\<\/a\>/is', '/\<code\>(.*?)\<\/code\>/is', - '/\<font color=(.*?)\>(.*?)\<\/font\>/is', - '/\<font color=\"(.*?)\"\>(.*?)\<\/font\>/is', + '/\<span style=\"color:(.*?)\"\>(.*?)\<\/span\>/is', '/\<blockquote\>(.*?)\<\/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]', ); |