0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2024-12-22 16:31:53 +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:
Edward Z. Yang 2006-06-15 22:08:24 +00:00
parent d9c8effc9b
commit fb9ed6f600

View File

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