diff options
Diffstat (limited to 'ratatoeskr/sys/utils.php')
-rw-r--r-- | ratatoeskr/sys/utils.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ratatoeskr/sys/utils.php b/ratatoeskr/sys/utils.php index d6093ca..c2f8e66 100644 --- a/ratatoeskr/sys/utils.php +++ b/ratatoeskr/sys/utils.php @@ -186,7 +186,7 @@ function strleft($s1, $s2) { /* * Function: htmlesc - * Escape HTML (shorter than htmlentities($text, ENT_QUOTES, "UTF-8")) + * Escape HTML (shorter than htmlspecialchars) * * Parameters: * $text - Input text. @@ -196,7 +196,7 @@ function strleft($s1, $s2) { */ function htmlesc($text) { - return htmlentities($text, ENT_QUOTES, "UTF-8"); + return htmlspecialchars($text, ENT_QUOTES, "UTF-8"); } /* |