mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-10-09 01:51:04 +02:00
add htmlpurifier youtube filter
This commit is contained in:
parent
da9f393ad2
commit
31c56e1acb
@ -2574,6 +2574,8 @@
|
|||||||
@$config->set('Cache', 'SerializerPath', "../" . CACHE_DIR . "/htmlpurifier");
|
@$config->set('Cache', 'SerializerPath', "../" . CACHE_DIR . "/htmlpurifier");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$config->set('Filter.YouTube', true);
|
||||||
|
|
||||||
$purifier = new HTMLPurifier($config);
|
$purifier = new HTMLPurifier($config);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user