\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.

Summary

Methods
Properties
Constants
transform()
$transform_to
No constants found
prependCSS()
$_size_lookup
N/A
No private methods found
No private properties found
N/A

Properties

$transform_to

$transform_to : 

Tag name to transform the tag to.

Type

$_size_lookup

$_size_lookup : 

Type

Methods

prependCSS()

prependCSS(array  $attr, string  $css) 

Prepends CSS properties to the style attribute, creating the attribute if it doesn't exist.

Parameters

array $attr

Attribute array to process (passed by reference)

string $css

CSS to prepend