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('@(.+)@m', '$2', $string);
+ return preg_replace('@@m', '', $string);
}
function utf8tohtml($utf8) {