19 declare(strict_types=1);
    24     protected const TAGSET = [
"strong", 
"em", 
"u", 
"ol", 
"li", 
"ul", 
"blockquote", 
"a", 
"p", 
"span", 
"br"];
    33         $config = HTMLPurifier_Config::createDefault();
    34         $config->set(
'HTML.DefinitionID', 
'ilias survey');
    35         $config->set(
'HTML.DefinitionRev', 1);
    37         $config->set(
'HTML.Doctype', 
'XHTML 1.0 Strict');
    41         $config->set(
'HTML.ForbiddenAttributes', 
'div@style');
    43         if ($def = $config->maybeGetRawHTMLDefinition()) {
    44             $def->addAttribute(
'a', 
'target', 
'Enum#_blank,_self,_target,_top');
 static _getCacheDirectory()
 
makeElementListTinyMceCompliant(array $elements)
 
removeUnsupportedElements(array $elements)
Removes all unsupported elements. 
 
getPurifierConfigInstance()