37         $config = HTMLPurifier_Config::createDefault();
    39         $config->set(
'HTML.DefinitionRev', 1);
    41         $config->set(
'HTML.Doctype', 
'XHTML 1.0 Strict');
    43         $config->set(
'HTML.ForbiddenAttributes', 
'div@style');
    44         $config->autoFinalize = 
false;
    48                 $config->get(
'URI.AllowedSchemes'),
    52         $config->autoFinalize = 
true;
    53         if ($def = $config->maybeGetRawHTMLDefinition()) {
    54             $def->addAttribute(
'a', 
'target', 
'Enum#_blank,_self,_target,_top');
    67         return $allowedElements;
 getElementsUsedForAdvancedEditing()
 
static _getCacheDirectory()
 
makeElementListTinyMceCompliant(array $elements)
 
removeUnsupportedElements(array $elements)
Removes all unsupported elements. 
 
getPurifierConfigInstance()
 
static _getUsedHTMLTags(string $a_module="")
Returns an array of all allowed HTML tags for text editing.