mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-11-09 23:28:42 +00:00
Update TODO, add extra fringe test-case for extractBody()
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@259 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
parent
9a35dfa6b9
commit
cedcbb9e15
11
TODO.txt
11
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
|
||||
- Do fixes for Firefox's inability to handle COL alignment props (Bug 915)
|
@ -49,6 +49,7 @@ class HTMLPurifier_LexerTest extends UnitTestCase
|
||||
function test_extractBody() {
|
||||
$this->assertExtractBody('<b>Bold</b>');
|
||||
$this->assertExtractBody('<html><body><b>Bold</b></body></html>', '<b>Bold</b>');
|
||||
$this->assertExtractBody('<HTML><BODY><B>Bold</B></BODY></HTML>', '<B>Bold</B>');
|
||||
$this->assertExtractBody(
|
||||
'<?xml version="1.0"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
||||
|
Loading…
Reference in New Issue
Block a user