19declare(strict_types=1);
30 public function purify(
string $html): string;
Interface for html sanitizing functionality.
purify(string $html)
Filters an HTML snippet/document to be XSS-free and standards-compliant.
purifyArray(array $htmlCollection)
Filters an array of HTML snippets/documents to be XSS-free and standards-compliant.