disabling incompatibilities issue #181
This commit is contained in:
parent
b8ec283458
commit
4c86f38306
1 changed files with 6 additions and 0 deletions
|
@ -133,8 +133,14 @@ class HTMLSanitizer {
|
|||
var $keptAttributes;
|
||||
var $onlyKeepText;
|
||||
|
||||
/*
|
||||
// disabled due to PHP <5.6 breakage
|
||||
const DEFAULT_CLEAR_TAGS = ["script", "iframe"];
|
||||
const KEPT_ATTRIBUTES = ["title", "href", "src"];
|
||||
*/
|
||||
const DEFAULT_CLEAR_TAGS = null;
|
||||
const KEPT_ATTRIBUTES = null;
|
||||
// -----------------------------------------------
|
||||
|
||||
const ONLY_TEXT = null;
|
||||
|
||||
|
|
Loading…
Reference in a new issue