mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 22:55:55 +00:00
add htmlpurifier youtube filter
This commit is contained in:
@@ -2574,6 +2574,8 @@
|
||||
@$config->set('Cache', 'SerializerPath', "../" . CACHE_DIR . "/htmlpurifier");
|
||||
}
|
||||
|
||||
$config->set('Filter.YouTube', true);
|
||||
|
||||
$purifier = new HTMLPurifier($config);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user