2
0
mirror of https://github.com/slawkens/myaac.git synced 2025-05-15 18:39:20 +02:00

htmlspecialchars seems to be better here (?)

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

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