mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-03 15:17:33 +02:00
disabling incompatibilities issue #181
This commit is contained in:
@@ -133,8 +133,14 @@ class HTMLSanitizer {
|
|||||||
var $keptAttributes;
|
var $keptAttributes;
|
||||||
var $onlyKeepText;
|
var $onlyKeepText;
|
||||||
|
|
||||||
|
/*
|
||||||
|
// disabled due to PHP <5.6 breakage
|
||||||
const DEFAULT_CLEAR_TAGS = ["script", "iframe"];
|
const DEFAULT_CLEAR_TAGS = ["script", "iframe"];
|
||||||
const KEPT_ATTRIBUTES = ["title", "href", "src"];
|
const KEPT_ATTRIBUTES = ["title", "href", "src"];
|
||||||
|
*/
|
||||||
|
const DEFAULT_CLEAR_TAGS = null;
|
||||||
|
const KEPT_ATTRIBUTES = null;
|
||||||
|
// -----------------------------------------------
|
||||||
|
|
||||||
const ONLY_TEXT = null;
|
const ONLY_TEXT = null;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user