1
0
Fork 0
forked from blallo/rss-bridge

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;