\HTMLPurifier_TagTransform_Font
Transforms FONT tags to the proper form (SPAN with CSS styling)
This transformation takes the three proprietary attributes of FONT and
transforms them into their corresponding CSS attributes. These are color,
face, and size.
Synopsis
class HTMLPurifier_TagTransform_Font
extends HTMLPurifier_TagTransform
{
- // members
- public string $transform_to = 'span';
- protected array $_size_lookup = ;
- // Inherited members from HTMLPurifier_TagTransform
- public $transform_to;
- // methods
- public void transform()
- // Inherited methods from HTMLPurifier_TagTransform
- public abstract void transform()
- protected void prependCSS()
Hierarchy
Extends
Members
protected
- $_size_lookup
public
- $transform_to
-
$transform_to
Tag name to transform the tag to.
Methods
public
Inherited from HTMLPurifier_TagTransform
protected
- prependCSS() — Prepends CSS properties to the style attribute, creating the attribute if it doesn't exist.
public
- transform() — Transforms the obsolete tag into the valid tag.