3 require_once 'HTMLPurifier/ChildDef.php';
6 * Definition that disallows all elements.
7 * @warning validateChildren() in this class is actually never called, because
8 * empty elements are corrected in HTMLPurifier_Strategy_MakeWellFormed
9 * before child definitions are parsed in earnest by
10 * HTMLPurifier_Strategy_FixNesting.
12 class HTMLPurifier_ChildDef_Empty
extends HTMLPurifier_ChildDef
14 var $allow_empty = true;
16 function HTMLPurifier_ChildDef_Empty() {}
17 function validateChildren($tokens_of_children, $config, &$context) {