escape_markup_modifiers: make it case insensitive
This commit is contained in:
parent
e7f25aa480
commit
b2d5ec253b
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user