4 require_once 
'Services/Html/HtmlPurifier/library/HTMLPurifier.safe-includes.php';
 
    5 require_once 
'Services/Html/interfaces/interface.ilHtmlPurifierInterface.php';
 
   50         final public function purify($a_html, $a_config = null)
 
   52                 return $this->oPurifier->purify($a_html, $a_config);
 
   64         final public function purifyArray(Array $a_array_of_html, $a_config = null)
 
   66                 return $this->oPurifier->purifyArray($a_array_of_html, $a_config);
 
  139                 $supportedElements = array();
 
  141                 $notSupportedTags = array(
 
  154                 foreach($a_array as $element)
 
  156                         if(!in_array($element, $notSupportedTags))
 
  158                                 $supportedElements[] = $element;
 
  162                 return $supportedElements;
 
  170                 if( in_array(
'u', $elements) && !in_array(
'span', $elements) )
 
  172                         $elements[] = 
'span';