diff --git a/inc/functions.php b/inc/functions.php
index 9e1ce1fa..403f6112 100644
--- a/inc/functions.php
+++ b/inc/functions.php
@@ -1604,7 +1604,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) {