Changed HTMLUtils to be usable with php < 5.6
This commit is contained in:
parent
f386fc4a10
commit
9090c2e470
1 changed files with 2 additions and 2 deletions
|
@ -133,8 +133,8 @@ class HTMLSanitizer {
|
||||||
var $keptAttributes;
|
var $keptAttributes;
|
||||||
var $onlyKeepText;
|
var $onlyKeepText;
|
||||||
|
|
||||||
const DEFAULT_CLEAR_TAGS = ["script", "iframe"];
|
public static $DEFAULT_CLEAR_TAGS = ["script", "iframe"];
|
||||||
const KEPT_ATTRIBUTES = ["title", "href", "src"];
|
public static $KEPT_ATTRIBUTES = ["title", "href", "src"];
|
||||||
|
|
||||||
const ONLY_TEXT = null;
|
const ONLY_TEXT = null;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue