From e5191b3ada7a9a23d0039972b88ea99a447da092 Mon Sep 17 00:00:00 2001 From: "Edward Z. Yang" Date: Sat, 23 Jun 2007 20:52:57 +0000 Subject: [PATCH] [2.0.1] Scrap auto_close in favor of ChildDef->elements heuristic. git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1213 48356398-32a2-884e-a903-53898d9a118a --- NEWS | 2 ++ library/HTMLPurifier/ChildDef.php | 5 +++++ library/HTMLPurifier/ChildDef/Chameleon.php | 1 + library/HTMLPurifier/ChildDef/Custom.php | 6 ++++++ library/HTMLPurifier/ChildDef/Required.php | 2 +- library/HTMLPurifier/ChildDef/Table.php | 2 ++ library/HTMLPurifier/ElementDef.php | 8 -------- library/HTMLPurifier/HTMLModule/List.php | 3 +-- library/HTMLPurifier/HTMLModule/Tables.php | 5 +---- library/HTMLPurifier/HTMLModule/Text.php | 8 +------- library/HTMLPurifier/HTMLModule/Tidy.php | 2 +- library/HTMLPurifier/Injector/AutoParagraph.php | 2 +- library/HTMLPurifier/Strategy/MakeWellFormed.php | 4 ++-- tests/HTMLPurifier/ChildDef/CustomTest.php | 10 ++++++++++ tests/HTMLPurifier/ElementDefTest.php | 12 ------------ tests/HTMLPurifier/Strategy/CoreTest.php | 4 ++-- 16 files changed, 36 insertions(+), 40 deletions(-) diff --git a/NEWS b/NEWS index f4cc74b1..7587a6ee 100644 --- a/NEWS +++ b/NEWS @@ -10,6 +10,8 @@ NEWS ( CHANGELOG and HISTORY ) HTMLPurifier ========================== 2.0.1, unknown release date +! Tag auto-closing now based on a ChildDef heuristic rather than a + manually set auto_close array; some behavior may change - Clean up special case code for