From 998002fd3442ad036391293fbb4382552081bf0f Mon Sep 17 00:00:00 2001 From: Michael Foster Date: Sat, 17 Aug 2013 17:53:39 +1000 Subject: [PATCH] better modifier escaping again --- inc/functions.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/inc/functions.php b/inc/functions.php index 50937a29..d1ae2267 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -1482,7 +1482,8 @@ function markup(&$body, $track_cites = false) { $modifiers = extract_modifiers($body); - $body = preg_replace('@(.+?)@us', '', $body); + $body = preg_replace('@(.+?)@us', '', $body); + $body = preg_replace('@@i', '', $body); if (isset($modifiers['raw html']) && $modifiers['raw html'] == '1') return $body;