31    public function purify(
string $html): string
 
   33        return trim($this->inner->purify($html));
 
   38        foreach ($htmlCollection as 
$key => $html) {
 
   42        return $htmlCollection;
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
ilHtmlPurifierInterface $inner
 
__construct(ilHtmlPurifierInterface $inner)
 
purifyArray(array $htmlCollection)
Filters an array of HTML snippets/documents to be XSS-free and standards-compliant.
 
purify(string $html)
Filters an HTML snippet/document to be XSS-free and standards-compliant.
 
Interface for html sanitizing functionality.