mirror of
https://github.com/Tencent/WeKnora.git
synced 2026-10-13 08:50:22 +08:00
* fix(docreader): keep DOCX table content in parsed text Docx.__call__ returns tables separately from the text lines, and parse_into_text used to drop them, silently losing all table content in documents parsed with the builtin engine. Render the tables as GFM Markdown (header row + delimiter + data rows) and append them to the parsed text. Fixes #2881 * fix(docreader): render DOCX tables from grid cells in document order Skip the HTML round-trip that treated equal or empty adjacent cells as colspan and dropped columns from GFM. Emit one column per python-docx grid slot and interleave tables with paragraphs in body order. --------- Co-authored-by: root <root@localhost.localdomain> Co-authored-by: wizardchen <wizardchen@tencent.com>