|
Cheetah
|
Public Member Functions | |
| prepare ($config, $context) | |
| handleElement (&$token) | |
| handleEnd (&$token) | |
Public Member Functions inherited from HTMLPurifier_Injector | |
| rewindOffset ($offset) | |
| getRewindOffset () | |
| checkNeeded ($config) | |
| allowsElement ($name) | |
| handleText (&$token) | |
| notifyEnd ($token) | |
Public Attributes | |
| $name = 'RemoveSpansWithoutAttributes' | |
| $needed = array('span') | |
Public Attributes inherited from HTMLPurifier_Injector | |
| $name | |
| $needed = array() | |
Additional Inherited Members | |
Protected Member Functions inherited from HTMLPurifier_Injector | |
| forward (&$i, &$current) | |
| forwardUntilEndToken (&$i, &$current, &$nesting) | |
| backward (&$i, &$current) | |
Protected Attributes inherited from HTMLPurifier_Injector | |
| $htmlDefinition | |
| $currentNesting | |
| $currentToken | |
| $inputZipper | |
| $rewindOffset = false | |
Injector that removes spans with no attributes
Definition at line 18711 of file HTMLPurifier.standalone.php.
| HTMLPurifier_Injector_RemoveSpansWithoutAttributes::handleElement | ( | & | $token | ) |
| HTMLPurifier_Token | $token |
Reimplemented from HTMLPurifier_Injector.
Definition at line 18750 of file HTMLPurifier.standalone.php.
| HTMLPurifier_Injector_RemoveSpansWithoutAttributes::handleEnd | ( | & | $token | ) |
| HTMLPurifier_Token | $token |
Reimplemented from HTMLPurifier_Injector.
Definition at line 18781 of file HTMLPurifier.standalone.php.
| HTMLPurifier_Injector_RemoveSpansWithoutAttributes::prepare | ( | $config, | |
| $context | |||
| ) |
Prepares the injector by giving it the config and context objects: this allows references to important variables to be made within the injector. This function also checks if the HTML environment will work with the Injector (see checkNeeded()).
| HTMLPurifier_Config | $config | |
| HTMLPurifier_Context | $context |
Reimplemented from HTMLPurifier_Injector.
Definition at line 18739 of file HTMLPurifier.standalone.php.
| HTMLPurifier_Injector_RemoveSpansWithoutAttributes::$name = 'RemoveSpansWithoutAttributes' |
@type string
Definition at line 18716 of file HTMLPurifier.standalone.php.
| HTMLPurifier_Injector_RemoveSpansWithoutAttributes::$needed = array('span') |
@type array
Definition at line 18721 of file HTMLPurifier.standalone.php.