htmlspecialchars seems to be better here (?)

This commit is contained in:
slawkens 2024-05-16 18:58:54 +02:00
parent 6f209440e0
commit 39e682dfd2

View File

@ -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)