4 require_once
'Services/Html/classes/class.ilHtmlPurifierAbstractLibWrapper.php';
26 $config->set(
'HTML.DefinitionRev', 1);
28 $config->set(
'HTML.Doctype',
'XHTML 1.0 Strict');
30 $config->set(
'HTML.ForbiddenAttributes',
'div@style');
32 $def->addAttribute(
'a',
'target',
'Enum#_blank,_self,_target,_top');
45 return $allowedElements;
50 include_once
'Services/AdvancedEditing/classes/class.ilObjAdvancedEditing.php';
getElementsUsedForAdvancedEditing()
static _getCacheDirectory()
Get the directory for HTMLPurifier cache files.
removeUnsupportedElements($a_array)
Removes all unsupported elements.
static _getUsedHTMLTags($a_module="")
Returns an array of all allowed HTML tags for text editing.
Abstract class wrapping the HTMLPurifier instance.
static createDefault()
Convenience constructor that creates a default configuration object.
getPurifierConfigInstance()
makeElementListTinyMceCompliant($elements)