0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2024-12-23 08:51:53 +00:00
htmlpurifier/library/HTMLPurifier/Injector
Edward Z. Yang 617f70a8ac Improve auto-paragraph to preserve newlines and handle edge-cases better.
This is a very large commit that includes numerous improvements to the
AutoParagraph injector.  These are:

* Rewritten flow control of the injector to use almost exclusively
  binary conditionals.
* Improved inline documentation with "State" comments, which give concise
  examples of what the token stack looks like at flow points.
* Documentation for all flow branches, even those with no actions.
* Factoring out of common operations to improve readability, especially the
  new iterator private methods.
* Expanded test-suite which covers new flow points, and corrects some errors
  in previous cases.

Signed-off-by: Edward Z. Yang <edwardzyang@thewritingpot.com>
2008-08-10 00:32:29 -04:00
..
AutoParagraph.php Improve auto-paragraph to preserve newlines and handle edge-cases better. 2008-08-10 00:32:29 -04:00
Linkify.php Transition is complete! Cleanup and class rearrangement now necessary. 2008-02-10 20:34:39 +00:00
PurifierLinkify.php Transition is complete! Cleanup and class rearrangement now necessary. 2008-02-10 20:34:39 +00:00
RemoveEmpty.php Implement %AutoFormat.RemoveEmpty, end to start ref, and injector rewind. 2008-06-27 16:09:14 -04:00
SafeObject.php [3.1.1] Mimick movie value in data if not set in safe object. 2008-06-11 23:12:38 +00:00