diff options
author | Kevin Chabowski <kevin@kch42.de> | 2012-02-18 15:01:39 +0100 |
---|---|---|
committer | Kevin Chabowski <kevin@kch42.de> | 2012-02-18 15:01:39 +0100 |
commit | 757adffdf0dfd912a5bd877ed915ca446b1bc973 (patch) | |
tree | e2e535f9f048f2356c8308668bf3e71638932615 /ratatoeskr/sys | |
parent | fffbcc480c8afa679e3a9ffee8c145dc3d4f5a28 (diff) | |
download | ratatoeskr-cms-757adffdf0dfd912a5bd877ed915ca446b1bc973.tar.gz ratatoeskr-cms-757adffdf0dfd912a5bd877ed915ca446b1bc973.tar.bz2 ratatoeskr-cms-757adffdf0dfd912a5bd877ed915ca446b1bc973.zip |
htmlesc now uses htmlspecialchars instead of htmlentities
Diffstat (limited to 'ratatoeskr/sys')
-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"); } /* |