This commit is contained in:
Teromene 2015-12-06 17:49:41 +00:00
commit 55d4c6e425
5 changed files with 43 additions and 18 deletions

View file

@ -133,6 +133,7 @@ class HTMLSanitizer {
var $keptAttributes;
var $onlyKeepText;
public static $DEFAULT_CLEAR_TAGS = ["script", "iframe"];
public static $KEPT_ATTRIBUTES = ["title", "href", "src"];