Browse Source

oops escape left angles in expressions

pull/1/head
Friendika 12 years ago
parent
commit
53928bec87
  1. 4
      include/html2bbcode.php

4
include/html2bbcode.php

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

Loading…
Cancel
Save