$strategies
$strategies :
List of strategies to run tokens through.
Core strategy composed of the big four strategies.
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.
execute(array<mixed,\HTMLPurifier_Token> $tokens, \HTMLPurifier_Config $config, \HTMLPurifier_Context $context) : array<mixed,\HTMLPurifier_Token>
Executes the strategy on the tokens.
| array<mixed,\HTMLPurifier_Token> | $tokens | Array of HTMLPurifier_Token objects to be operated on. |
| \HTMLPurifier_Config | $config | |
| \HTMLPurifier_Context | $context |
Processed array of token objects.