escape_markup_modifiers: make it case insensitive

This commit is contained in:
Michael Foster 2013-08-17 17:41:22 +10:00
parent e7f25aa480
commit b2d5ec253b

View File

@ -1631,7 +1631,7 @@ function markup(&$body, $track_cites = false) {
} }
function escape_markup_modifiers($string) { function escape_markup_modifiers($string) {
return preg_replace('@<tinyboard ([\w\s]+)>@m', '<tinyboard escape $1>', $string); return preg_replace('@<tinyboard ([\w\s]+)>@mi', '<tinyboard escape $1>', $string);
} }
function utf8tohtml($utf8) { function utf8tohtml($utf8) {