forked from leftypol/leftypol
escape_markup_modifiers: make it case insensitive
This commit is contained in:
parent
e7f25aa480
commit
b2d5ec253b
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue