mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-01-18 11:41:52 +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
9
TODO.txt
9
TODO.txt
@ -1,8 +1,12 @@
|
|||||||
Todo List
|
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:
|
Code issues:
|
||||||
- (?) Create a TokenFactory to prevent really long lines
|
- Massive profiling (library occasionally times out on large input)
|
||||||
- Massive profiling
|
|
||||||
- Fix IPv6 issues
|
- Fix IPv6 issues
|
||||||
- Make URI validation routines tighter (especially mailto)
|
- Make URI validation routines tighter (especially mailto)
|
||||||
- Distinguish between different types of URIs, for instance, a mailto URI
|
- Distinguish between different types of URIs, for instance, a mailto URI
|
||||||
@ -11,4 +15,3 @@ Code issues:
|
|||||||
|
|
||||||
Enhancements:
|
Enhancements:
|
||||||
- Do fixes for Firefox's inability to handle COL alignment props (Bug 915)
|
- Do fixes for Firefox's inability to handle COL alignment props (Bug 915)
|
||||||
- Have lexers strip out HTML and BODY tags rather than choke
|
|
@ -49,6 +49,7 @@ class HTMLPurifier_LexerTest extends UnitTestCase
|
|||||||
function test_extractBody() {
|
function test_extractBody() {
|
||||||
$this->assertExtractBody('<b>Bold</b>');
|
$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('<HTML><BODY><B>Bold</B></BODY></HTML>', '<B>Bold</B>');
|
||||||
$this->assertExtractBody(
|
$this->assertExtractBody(
|
||||||
'<?xml version="1.0"?>
|
'<?xml version="1.0"?>
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
||||||
|
Loading…
Reference in New Issue
Block a user