]> git.wh0rd.org Git - tt-rss.git/commitdiff
add htmlpurifier youtube filter
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 5 Jan 2012 07:44:24 +0000 (11:44 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 5 Jan 2012 07:44:24 +0000 (11:44 +0400)
include/functions.php

index 73c5e39fb544d28b585f6002d9d6f194aeadbe25..650196830d80b651d9121da2ec03ee9de7cededf 100644 (file)
                                @$config->set('Cache', 'SerializerPath', "../" . CACHE_DIR . "/htmlpurifier");
                        }
 
+                       $config->set('Filter.YouTube', true);
+
                        $purifier = new HTMLPurifier($config);
                }