Browse Source

match patterns against the encoder

pull/1/head
Mike Macgirvin 12 years ago
parent
commit
f9ff5b36bf
  1. 4
      include/html2bbcode.php

4
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]',
);

Loading…
Cancel
Save