mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 09:19:22 +02:00
htmlspecialchars seems to be better here (?)
This commit is contained in:
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user