Use html_escape instead of htmlspecialchars

This commit is contained in:
im-mi 2016-09-14 18:08:12 -04:00
parent c1083bbea1
commit a49c5745b0

View file

@ -134,7 +134,7 @@ class TagEditCloud extends Extension {
}
$size = sprintf("%.2f", max($row['scaled'],0.5));
$js = htmlspecialchars('tageditcloud_toggle_tag(this,'.json_encode($full_tag).')',ENT_QUOTES); //Ugly, but it works
$js = html_escape('tageditcloud_toggle_tag(this,'.json_encode($full_tag).')'); //Ugly, but it works
if(array_search($row['tag'],$image->get_tag_array()) !== FALSE) {
if($used_first) {