transform() transform(\HTMLPurifier_Token_Tag $tag, \HTMLPurifier_Config $config, \HTMLPurifier_Context $context) : string Transforms the obsolete tag into the valid tag. Parameters \HTMLPurifier_Token_Tag $tag \HTMLPurifier_Config $config \HTMLPurifier_Context $context Returns string —
__construct() __construct(string $transform_to, string $style = null) : mixed Parameters string $transform_to Tag name to transform to. string $style CSS style to add to the tag Returns mixed —
prependCSS() prependCSS(array $attr, string $css) : mixed 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 Returns mixed —