MarkupHTMLPurifier::purify()
Purify the given dirty HTML and return the clean HTML
Usage
$string = $markupHTMLPurifier->purify(string $html);Arguments
| Name | Type(s) | Description |
|---|---|---|
$html | string | Dirty HTML |
Return value
stringClean HTML
MarkupHTMLPurifier methods and properties
API reference based on ProcessWire core version 3.0.269