markup modifiers: make it even harder to escape
This commit is contained in:
parent
e7dd0bbc4a
commit
d7ea47a91f
@ -1624,7 +1624,7 @@ function markup(&$body, $track_cites = false) {
|
||||
}
|
||||
|
||||
function escape_markup_modifiers($string) {
|
||||
return preg_replace('@<tinyboard ([\w\s]+)>(.+)</tinyboard>@m', '<tinyboard escape $1>$2</tinyboard>', $string);
|
||||
return preg_replace('@<tinyboard ([\w\s]+)>@m', '<tinyboard escape $1>', $string);
|
||||
}
|
||||
|
||||
function utf8tohtml($utf8) {
|
||||
|
Loading…
Reference in New Issue
Block a user