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:
parent
0ff4e567bc
commit
acb68a6240
@ -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