HTMLPurifier()
HTMLPurifier(string $html, mixed $config = null) : string
Purify HTML.
Parameters
string | $html | String HTML to purify |
mixed | $config | Configuration to use, can be any value accepted by HTMLPurifier_Config::create() |