Validates the attributes of a token. Doesn't manage required attributes very well. The only reason we factored this out was because RemoveForeignElements also needed it besides ValidateAttributes.
Methods | ||||||||
---|---|---|---|---|---|---|---|---|
public
|
validateToken(HTMLPurifier_Token $token, HTMLPurifier_Config $config, HTMLPurifier_Context $context)
Validates the attributes of a token, mutating it as necessary.
that has valid tokens
Validates the attributes of a token, mutating it as necessary. that has valid tokens Parameters
|
# |