0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2024-12-22 08:21:52 +00:00
htmlpurifier/library
Edward Z. Yang cd4500457e More refactoring to MakeWellFormed and Injectors; they work better than ever now!
Major paradigm shift in this commit is bailing ship on the "skip" integers, which
were extremely buggy and error prone, and simply mark tokens as processed or
not processed by injectors. Other notable changes:

- Removed ad hoc decrements to inputIndex in favor of $reprocess flag variable
- Moved rewind outside of processToken()
- Make rewind properly ignore all other injectors
- Cleanup end of document code
- Reconfigure injector loops to account for skips and rewinds
- Punt the empty to start/end transformation
- Completely rewrite processToken to be array based
- Added skip and rewind member variables to tokens
- Fixed a longstanding bug with remove empty!

Signed-off-by: Edward Z. Yang <edwardzyang@thewritingpot.com>
2008-10-01 03:14:28 -04:00
..
HTMLPurifier More refactoring to MakeWellFormed and Injectors; they work better than ever now! 2008-10-01 03:14:28 -04:00
HTMLPurifier.auto.php Numerous documentation and test code fixes for HTML Purifier loading 2008-02-17 18:21:45 +00:00
HTMLPurifier.autoload.php - Gracefully error out of obscure bug involving non-static autoloaders 2008-02-18 02:33:50 +00:00
HTMLPurifier.func.php Numerous documentation and test code fixes for HTML Purifier loading 2008-02-17 18:21:45 +00:00
HTMLPurifier.includes.php Add support for proprietary "background" attribute in table elements. 2008-09-27 21:19:35 -04:00
HTMLPurifier.kses.php [3.1.0] Experimental kses support. 2008-03-13 05:35:57 +00:00
HTMLPurifier.path.php Numerous documentation and test code fixes for HTML Purifier loading 2008-02-17 18:21:45 +00:00
HTMLPurifier.php Release 3.1.1 2008-06-19 21:43:57 +00:00
HTMLPurifier.safe-includes.php Add support for proprietary "background" attribute in table elements. 2008-09-27 21:19:35 -04:00