\HTMLPurifier_AttrTransform_ImgSpace
Pre-transform that changes deprecated hspace and vspace attributes to CSS
Synopsis
class HTMLPurifier_AttrTransform_ImgSpace
extends HTMLPurifier_AttrTransform
{
- // methods
- public void __construct()
- public void transform()
- // Inherited methods from HTMLPurifier_AttrTransform
- public abstract void transform()
- public void prependCSS()
- public void confiscateAttr()
Hierarchy
Extends
Members
protected
- $attr
- $css
Methods
public
Inherited from HTMLPurifier_AttrTransform
public
- confiscateAttr() — Retrieves and removes an attribute
- prependCSS() — Prepends CSS properties to the style attribute, creating the attribute if it doesn't exist.
- transform() — Abstract: makes changes to the attributes dependent on multiple values.