in 5.x eZ has changed the way it assign headers inside a table. It's now assigning the depth of the section to the header's inside of table, no matter what level you assigned in the editor.
- create new object, disable OE editor
- insert in any xml block:
it will show result:
there was an old issue where this was fixed, but it appears that tag configuration with XSL in symfony has reverted the behavior