mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-12-23 00:41:52 +00:00
In-depth uselessness, have empty element definition return false always.
git-svn-id: http://htmlpurifier.org/svnroot/html_purifier/trunk@53 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
parent
d9c8effc9b
commit
fb9ed6f600
@ -502,6 +502,9 @@ class HTMLDTD_ChildDef_Optional extends HTMLDTD_ChildDef_Required
|
|||||||
class HTMLDTD_ChildDef_Empty extends HTMLDTD_ChildDef
|
class HTMLDTD_ChildDef_Empty extends HTMLDTD_ChildDef
|
||||||
{
|
{
|
||||||
function HTMLDTD_ChildDef_Empty() {}
|
function HTMLDTD_ChildDef_Empty() {}
|
||||||
|
function validateChildren() {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class HTMLDTD_AttrDef
|
class HTMLDTD_AttrDef
|
||||||
|
Loading…
Reference in New Issue
Block a user