htmlentities -> htmlspecialchars

This commit is contained in:
2024-12-06 15:35:38 +08:00
parent daa005f029
commit d9b2d13caa
184 changed files with 410 additions and 405 deletions

View File

@@ -299,7 +299,7 @@ class SMTP
break;
case 'html':
//Cleans up output a bit for a better looking, HTML-safe output
echo gmdate('Y-m-d H:i:s'), ' ', htmlentities(
echo gmdate('Y-m-d H:i:s'), ' ', htmlspecialchars(
preg_replace('/[\r\n]+/', '', $str),
ENT_QUOTES,
'UTF-8'