diff --git a/include/functions.php b/include/functions.php index 73c5e39fb..650196830 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); }