|
| cleanCSS ($css, $config, $context) |
| Takes CSS (the stuff found in <style>) and cleans it.
|
|
| postFilter ($html, $config, $context) |
| Post-processor function, handles HTML after HTML Purifier.
|
|
| preFilter ($html, $config, $context) |
| Removes inline <style> tags from HTML, saves them for later use.
|
|
|
| $name = 'ExtractStyleBlocks' |
| @type string
|
|
|
| styleCallback ($matches) |
| Save the contents of CSS blocks to style matches.
|
|
◆ cleanCSS()
HTMLPurifier_Filter_ExtractStyleBlocks::cleanCSS |
( |
| $css, |
|
|
| $config, |
|
|
| $context ) |
◆ postFilter()
HTMLPurifier_Filter::postFilter |
( |
| $html, |
|
|
| $config, |
|
|
| $context ) |
|
inherited |
◆ preFilter()
HTMLPurifier_Filter_ExtractStyleBlocks::preFilter |
( |
| $html, |
|
|
| $config, |
|
|
| $context ) |
Removes inline <style> tags from HTML, saves them for later use.
- Parameters
-
- Return values
-
- Todo
- Extend to indicate non-text/css style blocks
Reimplemented from HTMLPurifier_Filter.
◆ styleCallback()
HTMLPurifier_Filter_ExtractStyleBlocks::styleCallback |
( |
| $matches | ) |
|
|
protected |
Save the contents of CSS blocks to style matches.
- Parameters
-
array | $matches | preg_replace style $matches array |
The documentation for this class was generated from the following file:
- lib/htmlpurifier/HTMLPurifier/Filter/ExtractStyleBlocks.php