if (!$_filter) {
$config = HTMLPurifier_Config::createDefault();
$config->set('Core.Encoding', 'UTF-8');
+ $config->set('Attr.AllowedFrameTargets', ['_blank', '_self', '_parent', '_top']);
// Disable the cache entirely
$config->set('Cache.DefinitionImpl', NULL);