11    public $name = 
'RemoveSpansWithoutAttributes';
 
   54        $this->attrValidator->validateToken($token, $this->config, $this->context);
 
   55        $token->armor[
'ValidateAttributes'] = 
true;
 
   57        if (!empty($token->attr)) {
 
   78        if ($token->markForDeletion) {
 
An exception for terminatinating execution or to throw for unit testing.
Validates the attributes of a token.
Injector that removes spans with no attributes.
$config
Used by AttrValidator.
$attrValidator
@type HTMLPurifier_AttrValidator
$context
@type HTMLPurifier_Context
prepare($config, $context)
Prepares the injector by giving it the config and context objects: this allows references to importan...
Injects tokens into the document while parsing for well-formedness.
forwardUntilEndToken(&$i, &$current, &$nesting)
Similar to _forward, but accepts a third parameter $nesting (which should be initialized at 0) and st...
Concrete end token class.
Concrete start token class.