diff --git a/PureHTMLDefinition.php b/PureHTMLDefinition.php index f6627f53..a6c05938 100644 --- a/PureHTMLDefinition.php +++ b/PureHTMLDefinition.php @@ -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