diff --git a/inc/functions.php b/inc/functions.php index 05b10cd6..4d3d2f51 100755 --- a/inc/functions.php +++ b/inc/functions.php @@ -2638,7 +2638,7 @@ function markup(&$body, $track_cites = false, $op = false) { $code = rtrim(ltrim($code, "\r\n")); - $code = "
".str_replace(array("\n","\t"), array("
","	"), htmlspecialchars($code))."
"; + $code = "
".str_replace(array("\n","\t"), array("
","	"), htmlspecialchars($code, ENT_COMPAT, "UTF-8", false))."
"; $body = str_replace("", $code, $body); }