diff --git a/extension/ezoe/ezxmltext/handlers/input/ezoeinputparser.php b/extension/ezoe/ezxmltext/handlers/input/ezoeinputparser.php index 7181f73e4dc..a04cea77285 100644 --- a/extension/ezoe/ezxmltext/handlers/input/ezoeinputparser.php +++ b/extension/ezoe/ezxmltext/handlers/input/ezoeinputparser.php @@ -999,7 +999,7 @@ function structHandlerHeader( $element, $newParent ) { ++$sectionLevel; } - elseif ( $current->nodeName === 'td' ) + elseif ( $current->nodeName === 'td' || $current->nodeName === 'th' ) { ++$sectionLevel; break;