|
| | transform ($tag, $config, $context) |
| | Transforms the obsolete tag into the valid tag.
|
| |
|
| | prependCSS (&$attr, $css) |
| | Prepends CSS properties to the style attribute, creating the attribute if it doesn't exist.
|
| |
◆ prependCSS()
| HTMLPurifier_TagTransform::prependCSS |
( |
& | $attr, |
|
|
| $css ) |
|
protected |
Prepends CSS properties to the style attribute, creating the attribute if it doesn't exist.
- Warning
- Copied over from AttrTransform, be sure to keep in sync
- Parameters
-
| array | $attr | Attribute array to process (passed by reference) |
| string | $css | CSS to prepend |
◆ transform()
| HTMLPurifier_TagTransform::transform |
( |
| $tag, |
|
|
| $config, |
|
|
| $context ) |
|
abstract |
◆ $transform_to
| HTMLPurifier_TagTransform::$transform_to |
Tag name to transform the tag to.
@type string
The documentation for this class was generated from the following file:
- lib/htmlpurifier/HTMLPurifier/TagTransform.php