| abstract | 
|---|
Supertype for classes that define a strategy for modifying/purifying tokens.
While HTMLPurifier's core purpose is fixing HTML into something proper, strategies provide plug points for extra configuration or even extra features, such as custom tags, custom parsing of text, etc.
| Methods | ||||
|---|---|---|---|---|
| 
					abstract
	public
					
					
				 | execute(HTMLPurifier_Token[] $tokens, HTMLPurifier_Config $config, HTMLPurifier_Context $context): HTMLPurifier_Token[]
		Executes the strategy on the tokens.
	 Executes the strategy on the tokens. Parameters
 ReturnsProcessed array of token objects. Implemented by | # | ||