mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-12-22 08:21:52 +00:00
Add a few more comments about possible extra features.
git-svn-id: http://htmlpurifier.org/svnroot/html_purifier/trunk@42 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
parent
8c80b70c37
commit
b29155018b
@ -6,6 +6,7 @@ class PureHTMLDefinition
|
||||
var $generator;
|
||||
var $info = array();
|
||||
var $info_closes_p = array(
|
||||
// these are all block elements: blocks aren't allowed in P
|
||||
'address' => true,
|
||||
'blockquote' => true,
|
||||
'dd' => true,
|
||||
@ -237,6 +238,10 @@ class PureHTMLDefinition
|
||||
continue;
|
||||
}
|
||||
|
||||
// this is more TIDY stuff
|
||||
// we should also get some TABLE related code
|
||||
// mismatched h#
|
||||
|
||||
$current_nesting[] = $current_parent; // undo the pop
|
||||
}
|
||||
|
||||
|
@ -150,6 +150,8 @@ class Test_PureHTMLDefinition extends UnitTestCase
|
||||
,new MF_EndTag('div')
|
||||
);
|
||||
|
||||
// automatic list closing
|
||||
|
||||
$inputs[9] = array(
|
||||
new MF_StartTag('ol')
|
||||
,new MF_StartTag('li')
|
||||
|
Loading…
Reference in New Issue
Block a user