markup modifiers: make it even harder to escape

This commit is contained in:
czaks authored and Michael Foster committed 2013-07-31 21:27:50 -04:00
1 parent ab36452543
commit 232f4ff868
1 file changed
+1 -1
+1 -1
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) {