true, 'tbody' => true, 'tfoot' => true, 'thead' => true, 'tr' => true ]; private static $impliedEndTags = [ 'dd' => true, 'dt' => true, 'li' => true, 'option' => true, 'optgroup' => true, 'p' => true, 'rb' => true, 'rp' => true, 'rt' => true, 'rtc' => true, ]; private static $thoroughlyImpliedEndTags = [ 'caption' => true, 'colgroup' => true, 'dd' => true, 'dt' => true, 'li' => true, 'optgroup' => true, 'option' => true, 'p' => true, 'rb' => true, 'rp' => true, 'rt' => true, 'rtc' => true, 'tbody' => true, 'td' => true, 'tfoot' => true, 'th' => true, 'thead' => true, 'tr' => true ]; /** * @param TreeHandler $handler The handler which receives tree mutation events * @param array $options Associative array of options. The options are: * - isIframeSrcdoc: True if the document is an iframe srcdoc document. * Default false. * - scriptingFlag: True if the scripting flag is enabled. Default true. * Setting this to false cause the contents of