29        return trim($this->inner->purify($a_html));
 
   37        foreach ($a_array_of_html as 
$key => 
$html) {
 
   41        return $a_array_of_html;
 
An exception for terminatinating execution or to throw for unit testing.
Class ilTermsOfServiceTrimmedDocumentPurifier.
purify($a_html)
Filters an HTML snippet/document to be XSS-free and standards-compliant.@access public
purifyArray(array $a_array_of_html)
Filters an array of HTML snippets/documents to be XSS-free and standards-compliant....
__construct(\ilHtmlPurifierInterface $inner)
ilTermsOfServiceTrimmedDocumentPurifier constructor.
Interface for html sanitizing functionality.