$strategies
$strategies :
List of strategies to run tokens through.
Composite strategy that runs multiple strategies on 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.
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 |