0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2024-09-20 11:15:18 +00:00
htmlpurifier/tests/HTMLPurifier/Strategy
Edward Z. Yang 70515dd48f Increase test coverage, and modify handleEnd behavior to only see correct tokens.
Previously, handleEnd was called for any end tag, except ones that were obviously
spurious because there were no parent tags. Now, it is only called for end tags
that are "approved." If an injector operates on the end tag, we automatically
punt. There may be some optimizations that could be made to this procedure,
but for now it's much more consistent.

Signed-off-by: Edward Z. Yang <edwardzyang@thewritingpot.com>
2008-10-01 15:40:31 -04:00
..
MakeWellFormed Increase test coverage, and modify handleEnd behavior to only see correct tokens. 2008-10-01 15:40:31 -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 Track column numbers in addition to line numbers. 2008-09-01 14:10:10 -04:00
MakeWellFormed_InjectorTest.php Increase test coverage, and modify handleEnd behavior to only see correct tokens. 2008-10-01 15:40:31 -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