Browse Source

markup modifiers: make it even harder to escape

pull/40/head
czaks 11 years ago
committed by Michael Foster
parent
commit
232f4ff868
  1. 2
      inc/functions.php

2
inc/functions.php

@ -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) {

Loading…
Cancel
Save