From cedcbb9e1577bba741e1a69be246eef9852722f2 Mon Sep 17 00:00:00 2001 From: "Edward Z. Yang" Date: Tue, 15 Aug 2006 01:14:39 +0000 Subject: [PATCH] Update TODO, add extra fringe test-case for extractBody() git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@259 48356398-32a2-884e-a903-53898d9a118a --- TODO.txt | 11 +++++++---- tests/HTMLPurifier/LexerTest.php | 1 + 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/TODO.txt b/TODO.txt index b6d4c7eb..15a1f5b5 100644 --- a/TODO.txt +++ b/TODO.txt @@ -1,8 +1,12 @@ Todo List +Core: + - Finish all the Core CSS traits + - Implement all non-essential attribute transforms + - Change default behavior from escape to drop unrecognized stuff (merge config) + Code issues: - - (?) Create a TokenFactory to prevent really long lines - - Massive profiling + - Massive profiling (library occasionally times out on large input) - Fix IPv6 issues - Make URI validation routines tighter (especially mailto) - Distinguish between different types of URIs, for instance, a mailto URI @@ -10,5 +14,4 @@ Code issues: - Factor out Host validation to its own AttrDef Enhancements: - - Do fixes for Firefox's inability to handle COL alignment props (Bug 915) - - Have lexers strip out HTML and BODY tags rather than choke \ No newline at end of file + - Do fixes for Firefox's inability to handle COL alignment props (Bug 915) \ No newline at end of file diff --git a/tests/HTMLPurifier/LexerTest.php b/tests/HTMLPurifier/LexerTest.php index b42b5edb..97e44af4 100644 --- a/tests/HTMLPurifier/LexerTest.php +++ b/tests/HTMLPurifier/LexerTest.php @@ -49,6 +49,7 @@ class HTMLPurifier_LexerTest extends UnitTestCase function test_extractBody() { $this->assertExtractBody('Bold'); $this->assertExtractBody('Bold', 'Bold'); + $this->assertExtractBody('Bold', 'Bold'); $this->assertExtractBody( '