mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-05 00:59:35 +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 $onlyKeepText;
|
||||
|
||||
const DEFAULT_CLEAR_TAGS = ["script", "iframe"];
|
||||
const KEPT_ATTRIBUTES = ["title", "href", "src"];
|
||||
public static $DEFAULT_CLEAR_TAGS = ["script", "iframe"];
|
||||
public static $KEPT_ATTRIBUTES = ["title", "href", "src"];
|
||||
|
||||
const ONLY_TEXT = null;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user