0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2024-12-23 00:41:52 +00:00
htmlpurifier/library/HTMLPurifier/Strategy
Edward Z. Yang f8b47c64dd Make Strategy_MakeWellFormed operate in place.
Previously, MakeWellFormed processed tokens and appended them onto an output
array, which was presumably immutable and inaccessible to Injectors. By
having MakeWellFormed operate directly on the input array, the strategy
saves memory and will also allow for a rewind implementation, as a unifying
the two arrays allows Injectors to easily determine an index behind them they'd
like to reset state to.

Signed-off-by: Edward Z. Yang <edwardzyang@thewritingpot.com>
2008-06-27 01:33:48 -04:00
..
Composite.php [3.1.0] The bulk of autoload support added 2008-01-27 01:54:41 +00:00
Core.php [3.1.0] The bulk of autoload support added 2008-01-27 01:54:41 +00:00
FixNesting.php [3.1.0] The bulk of autoload support added 2008-01-27 01:54:41 +00:00
MakeWellFormed.php Make Strategy_MakeWellFormed operate in place. 2008-06-27 01:33:48 -04:00
RemoveForeignElements.php [3.1.2] Implement comments when %HTML.Trusted is on. 2008-06-25 23:12:19 -04:00
ValidateAttributes.php [3.1.0] The bulk of autoload support added 2008-01-27 01:54:41 +00:00