HTML tables lose the header delimiter row after `<caption>` or `<colgroup>`, and `<tfoot>` adds a fake header · Issue #2536 · microsoft/markitdown · GitHub
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
HTML tables lose the header delimiter row after <caption> or <colgroup>, and <tfoot> adds a fake header #2536
When a table's rows sit directly under <table> (not in <thead> or <tbody>), a <caption> or <colgroup> before them drops the | --- | line under the header. Without it the output isn't a Markdown table anymore, just lines of pipes. JDK 8 and 11 Javadoc summary tables are built this way.
A <tfoot> row has the opposite problem. It gets its own empty header and | --- | line in the middle of the table.
Hi maintainers, I'd like to work on issue #2536. I plan to add regression tests for the missing Markdown table header separator after a caption and the extra separator generated by a table footer, then implement a focused fix. Is this issue still available for contribution?
Activity
Sanjanabonagiri16 commentedon Oct 15, 2026
Hi maintainers, I'd like to work on issue #2536. I plan to add regression tests for the missing Markdown table header separator after a caption and the extra separator generated by a table footer, then implement a focused fix. Is this issue still available for contribution?