Class HTMLPurifier_TagTransform
Defines a mutation of an obsolete tag into a valid tag.
Methods summary
abstract public
|
#
transform( $tag $tag, $config $config, $context $context )
Transforms the obsolete tag into the valid tag.
Transforms the obsolete tag into the valid tag.
Parameters
- $tag
$tag Tag to be transformed.
- $config
$config Mandatory HTMLPurifier_Config object
- $context
$context Mandatory HTMLPurifier_Context object
|
protected
|
#
prependCSS( $attr & $attr, $css $css )
Prepends CSS properties to the style attribute, creating the attribute if it
doesn't exist.
Prepends CSS properties to the style attribute, creating the attribute if it
doesn't exist.
Parameters
- $attr
$attr Attribute array to process (passed by reference)
- $css
$css CSS to prepend
Warning
Copied over from AttrTransform, be sure to keep in sync
|
Properties summary
public
|
$transform_to
|
|
#
Tag name to transform the tag to.
Tag name to transform the tag to.
|