Skip to content

Commit

Permalink
Fix handling of headings in table header cells (#1457)
Browse files Browse the repository at this point in the history
  • Loading branch information
hknezevic committed Oct 12, 2020
1 parent c8d786e commit f21bbc5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -999,7 +999,7 @@ function structHandlerHeader( $element, $newParent )
{
++$sectionLevel;
}
elseif ( $current->nodeName === 'td' )
elseif ( $current->nodeName === 'td' || $current->nodeName === 'th' )
{
++$sectionLevel;
break;
Expand Down

0 comments on commit f21bbc5

Please sign in to comment.