0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2024-11-14 01:08:41 +00:00
htmlpurifier/tests/HTMLPurifier/Strategy
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
..
CompositeTest.php - Removed tally(), swallowErrors(), assertNoErrors() 2008-04-14 03:06:36 +00:00
CoreTest.php Remove includes from unit tests. 2008-02-18 04:41:42 +00:00
ErrorsHarness.php Classname() constructors to __construct() constructors, as per SimpleTest. Also normalized ppp declarations; no public declaration for test methods, public/protected for the rest 2008-04-21 15:24:18 +00:00
FixNesting_ErrorsTest.php Classname() constructors to __construct() constructors, as per SimpleTest. Also normalized ppp declarations; no public declaration for test methods, public/protected for the rest 2008-04-21 15:24:18 +00:00
FixNestingTest.php Various fixes: 2008-04-15 03:33:09 +00:00
MakeWellFormed_ErrorsTest.php Classname() constructors to __construct() constructors, as per SimpleTest. Also normalized ppp declarations; no public declaration for test methods, public/protected for the rest 2008-04-21 15:24:18 +00:00
MakeWellFormed_InjectorTest.php Improve auto-paragraph to preserve newlines and handle edge-cases better. 2008-08-10 00:32:29 -04:00
MakeWellFormedTest.php Fix bug involving autoclose and inline elements in strict <blockquote>. 2008-08-01 20:52:06 -04:00
RemoveForeignElements_ErrorsTest.php [3.1.2] Implement comments when %HTML.Trusted is on. 2008-06-25 23:12:19 -04:00
RemoveForeignElements_TidyTest.php Handle CRLF discrepancies 2008-06-24 21:10:51 -04:00
RemoveForeignElementsTest.php [3.1.2] Implement comments when %HTML.Trusted is on. 2008-06-25 23:12:19 -04:00
ValidateAttributes_IDTest.php Handle CRLF discrepancies 2008-06-24 21:10:51 -04:00
ValidateAttributes_TidyTest.php Handle CRLF discrepancies 2008-06-24 21:10:51 -04:00
ValidateAttributesTest.php [3.1.1] Round up imagecrash support with HTML.MaxImgLength 2008-05-23 02:09:43 +00:00