diff options
| author | czaks <marcin@6irc.net> | 2013-07-31 20:13:19 -0400 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2013-07-31 20:13:19 -0400 |
| commit | d7ea47a91f63382f7a4e002086e415550e342a11 (patch) | |
| tree | 050986e6aed986fba320f050cc208dcb0dfcf10a | |
| parent | e7dd0bbc4a4a17a4f7e5f6750b48ee3c0946c40e (diff) | |
markup modifiers: make it even harder to escape
| -rw-r--r-- | inc/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/functions.php b/inc/functions.php index 5dace908..b52c58fb 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -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) { |
