1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-29 01:34:31 +01:00

escape_markup_modifiers: make it case insensitive

This commit is contained in:
Michael Foster 2013-08-17 17:41:22 +10:00
parent 0ff4e567bc
commit acb68a6240

View File

@ -1631,7 +1631,7 @@ function markup(&$body, $track_cites = false) {
}
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) {