0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2024-12-22 16:31:53 +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:
Edward Z. Yang 2006-04-16 21:06:08 +00:00
parent 8c80b70c37
commit b29155018b
2 changed files with 7 additions and 0 deletions

View File

@ -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
}

View File

@ -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')