diff --git a/system/functions.php b/system/functions.php index 2b8b0364..70c0b93e 100644 --- a/system/functions.php +++ b/system/functions.php @@ -1634,7 +1634,7 @@ function removeIfFirstSlash(&$text) { }; function escapeHtml($html) { - return htmlentities($html, ENT_QUOTES | ENT_SUBSTITUTE, 'UTF-8'); + return htmlspecialchars($html); } function getGuildNameById($id)