|
| $transform_to = 'span' |
| @type string
|
|
|
| prependCSS (&$attr, $css) |
| Prepends CSS properties to the style attribute, creating the attribute if it doesn't exist.
|
|
◆ prependCSS()
HTMLPurifier_TagTransform::prependCSS |
( |
& | $attr, |
|
|
| $css ) |
|
protectedinherited |
Prepends CSS properties to the style attribute, creating the attribute if it doesn't exist.
- Warning
- Copied over from AttrTransform, be sure to keep in sync
- Parameters
-
array | $attr | Attribute array to process (passed by reference) |
string | $css | CSS to prepend |
◆ transform()
HTMLPurifier_TagTransform_Font::transform |
( |
| $tag, |
|
|
| $config, |
|
|
| $context ) |
◆ $_size_lookup
HTMLPurifier_TagTransform_Font::$_size_lookup |
|
protected |
Initial value:= array(
'0' => 'xx-small',
'1' => 'xx-small',
'2' => 'small',
'3' => 'medium',
'4' => 'large',
'5' => 'x-large',
'6' => 'xx-large',
'7' => '300%',
'-1' => 'smaller',
'-2' => '60%',
'+1' => 'larger',
'+2' => '150%',
'+3' => '200%',
'+4' => '300%'
)
@type array
The documentation for this class was generated from the following file:
- lib/htmlpurifier/HTMLPurifier/TagTransform/Font.php