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