$transform_to
$transform_to
Tag name to transform the tag to.
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.
transform(\HTMLPurifier_Token_Tag $tag, \HTMLPurifier_Config $config, \HTMLPurifier_Context $context) : \HTMLPurifier_Token_End|string
Transforms the obsolete tag into the valid tag.
\HTMLPurifier_Token_Tag | $tag | |
\HTMLPurifier_Config | $config | |
\HTMLPurifier_Context | $context |