mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-08-03 12:47:56 +02: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:
@@ -502,6 +502,9 @@ class HTMLDTD_ChildDef_Optional extends HTMLDTD_ChildDef_Required
|
||||
class HTMLDTD_ChildDef_Empty extends HTMLDTD_ChildDef
|
||||
{
|
||||
function HTMLDTD_ChildDef_Empty() {}
|
||||
function validateChildren() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
class HTMLDTD_AttrDef
|
||||
|
Reference in New Issue
Block a user