$name
$name
Name of the filter for identification purposes.
This filter extracts <style> blocks from input HTML, cleans them up using CSSTidy, and then places them in $purifier->context->get('StyleBlocks') so they can be used elsewhere in the document.
cleanCSS(string $css, \HTMLPurifier_Config $config, \HTMLPurifier_Context $context) : string
Takes CSS (the stuff found in <style>) and cleans it.
string | $css | CSS styling to clean |
\HTMLPurifier_Config | $config | |
\HTMLPurifier_Context | $context |
Cleaned CSS