Changed sanitizeHTML behaviour to improve Unicode and Latin-1 handling

pull/1/head
root 16 years ago
parent aa5e9432ab
commit 06e1f1f438

@ -736,7 +736,9 @@
function sanitizeHTML($input)
{
return htmlentities(strip_tags(utf8_decode($input)), ENT_QUOTES);
return htmlentities(strip_tags($input), ENT_QUOTES);
//In case of problems, please use the following line again:
//return htmlentities(strip_tags(utf8_decode($input)), ENT_QUOTES);
//return htmlspecialchars(strip_tags($input));
}

Loading…
Cancel
Save