mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-09 16:38:50 +00:00
Changed HTMLUtils to be usable with php < 5.6
This commit is contained in:
parent
f386fc4a10
commit
9090c2e470
@ -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 New Issue
Block a user