mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-14 15:05:56 +00:00
add htmlpurifier youtube filter
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user