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.
Located in /lib/core/Parsers/htmlpurifier/HTMLPurifier.standalone.php (line 6413)
| Class | Description |
|---|---|
| HTMLPurifier_Strategy_Composite | Composite strategy that runs multiple strategies on tokens. |
| HTMLPurifier_Strategy_FixNesting | Takes a well formed list of tokens and fixes their nesting. |
| HTMLPurifier_Strategy_MakeWellFormed | Takes tokens makes them well-formed (balance end tags, etc.) |
| HTMLPurifier_Strategy_RemoveForeignElements | Removes all unrecognized tags from the list of tokens. |
| HTMLPurifier_Strategy_ValidateAttributes | Validate all attributes in the tokens. |
Documentation generated on Sun, 06 Mar 2011 00:24:10 -0500 by phpDocumentor 1.4.3