mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-12-23 00:41: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 $generator;
|
||||||
var $info = array();
|
var $info = array();
|
||||||
var $info_closes_p = array(
|
var $info_closes_p = array(
|
||||||
|
// these are all block elements: blocks aren't allowed in P
|
||||||
'address' => true,
|
'address' => true,
|
||||||
'blockquote' => true,
|
'blockquote' => true,
|
||||||
'dd' => true,
|
'dd' => true,
|
||||||
@ -237,6 +238,10 @@ class PureHTMLDefinition
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// this is more TIDY stuff
|
||||||
|
// we should also get some TABLE related code
|
||||||
|
// mismatched h#
|
||||||
|
|
||||||
$current_nesting[] = $current_parent; // undo the pop
|
$current_nesting[] = $current_parent; // undo the pop
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -150,6 +150,8 @@ class Test_PureHTMLDefinition extends UnitTestCase
|
|||||||
,new MF_EndTag('div')
|
,new MF_EndTag('div')
|
||||||
);
|
);
|
||||||
|
|
||||||
|
// automatic list closing
|
||||||
|
|
||||||
$inputs[9] = array(
|
$inputs[9] = array(
|
||||||
new MF_StartTag('ol')
|
new MF_StartTag('ol')
|
||||||
,new MF_StartTag('li')
|
,new MF_StartTag('li')
|
||||||
|
Loading…
Reference in New Issue
Block a user