extends |
HTMLPurifier_AttrDef |
---|
Decorator which enables !important to be used in CSS values.
Methods | ||||||||
---|---|---|---|---|---|---|---|---|
public
|
__construct(HTMLPurifier_AttrDef $def, bool $allow = false)
Parameters
|
# | ||||||
public
|
validate(string $string, HTMLPurifier_Config $config, HTMLPurifier_Context $context): bool|string
Intercepts and removes !important if necessary
Intercepts and removes !important if necessary Parameters
Implements |
# |
Methods inherited from HTMLPurifier_AttrDef |
---|
parseCDATA(), make(), mungeRgb(), expandCSSEscape() |
Properties | |||
---|---|---|---|
public
|
|
$def
|
# |
public
|
|
$allow
|
# |
Properties inherited from HTMLPurifier_AttrDef |
---|
$minimized, $required |