oops escape left angles in expressions

This commit is contained in:
Friendika 2010-12-30 21:08:06 -08:00
parent afaacd134c
commit 53928bec87

View file

@ -24,8 +24,8 @@ function html2bbcode($s) {
'/\<code\>(.*?)\<\/code\>/is',
'/\<span style=\"color:(.*?)\"\>(.*?)\<\/span\>/is',
'/\<blockquote\>(.*?)\<\/blockquote\>/is',
'/\<video(.*?) src=\"(.*?)\" (.*?)\>(.*?)</video>/is',
'/\<audio(.*?) src=\"(.*?)\" (.*?)\>(.*?)</audio>/is',
'/\<video(.*?) src=\"(.*?)\" (.*?)\>(.*?)\</video>/is',
'/\<audio(.*?) src=\"(.*?)\" (.*?)\>(.*?)\</audio>/is',
);