0
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-07-01 02:52:55 +00:00

Changed HTMLUtils to be usable with php < 5.6

This commit is contained in:
Teromene 2015-12-06 17:47:20 +00:00
parent f386fc4a10
commit 9090c2e470

View File

@ -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;