Property | Type | Description | |
---|---|---|---|
$allow | |||
$def |
Method | Description | |
---|---|---|
__construct ( HTMLPurifier_AttrDef $def, boolean $allow = false ) | ||
validate ( string $string, HTMLPurifier_Config $config, HTMLPurifier_Context $context ) : boolean | string | Intercepts and removes !important if necessary |
public __construct ( HTMLPurifier_AttrDef $def, boolean $allow = false ) | ||
$def | HTMLPurifier_AttrDef | Definition to wrap |
$allow | boolean | Whether or not to allow !important |