1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-01-18 17:14:04 +01:00

markup modifiers: make it even harder to escape

This commit is contained in:
czaks 2013-07-31 20:13:19 -04:00 committed by Michael Foster
parent 70dbed72b1
commit 4d8c7f67cd

View File

@ -1604,7 +1604,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) {