HTMLPurifier 4.4.0
|
Validates the HTML attribute style, otherwise known as CSS. More...
Public Member Functions | |
validate ($css, $config, $context) | |
Validates and cleans passed string according to a definition. | |
validate ($css, $config, $context) | |
Validates and cleans passed string according to a definition. |
Validates the HTML attribute style, otherwise known as CSS.
HTMLPurifier_AttrDef_CSS::validate | ( | $ | string, |
$ | config, | ||
$ | context | ||
) |
Validates and cleans passed string according to a definition.
$string | String to be validated and cleaned. |
$config | Mandatory HTMLPurifier_Config object. |
$context | Mandatory HTMLPurifier_AttrContext object. |
Name of the current CSS property being validated.
Reimplemented from HTMLPurifier_AttrDef.
Definition at line 17 of file CSS.php.
References $config, and HTMLPurifier_AttrDef::parseCDATA().
HTMLPurifier_AttrDef_CSS::validate | ( | $ | string, |
$ | config, | ||
$ | context | ||
) |
Validates and cleans passed string according to a definition.
$string | String to be validated and cleaned. |
$config | Mandatory HTMLPurifier_Config object. |
$context | Mandatory HTMLPurifier_AttrContext object. |
Name of the current CSS property being validated.
Reimplemented from HTMLPurifier_AttrDef.
Definition at line 8196 of file HTMLPurifier.standalone.php.
References $config, and HTMLPurifier_AttrDef::parseCDATA().