From: Andrew Dolgov Date: Thu, 5 Jan 2012 07:44:24 +0000 (+0400) Subject: add htmlpurifier youtube filter X-Git-Tag: 1.5.9~9 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=31c56e1acbddc91c6300eb05742b71499f207ac6;p=tt-rss.git add htmlpurifier youtube filter --- diff --git a/include/functions.php b/include/functions.php index 73c5e39f..65019683 100644 --- a/include/functions.php +++ b/include/functions.php @@ -2574,6 +2574,8 @@ @$config->set('Cache', 'SerializerPath', "../" . CACHE_DIR . "/htmlpurifier"); } + $config->set('Filter.YouTube', true); + $purifier = new HTMLPurifier($config); }