-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Fix DOCX text_as_html duplicating merged-cell text instead of colspan/rowspan #4469
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
qued
merged 19 commits into
main
from
alan/ml-1776-unstructured-fix-docx-text_as_html-duplicates-merged-cell
Sep 8, 2026
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
dd3d837
fix: stop duplicating merged-cell text in DOCX text_as_html
qued 2ceac72
chore: bump version to 0.27.6
qued 832fafd
fix: stop dropping empty rows in spanned HTML table output
qued ab63031
fix: keep rowspan-bound rows together when chunking a table
qued 97b6e16
fix: clamp rowspan reach to available rows and honor rowspan="0"
qued 7b3d682
fix: scope rowspan chunk-boundary grouping to its own thead/tbody/tfo…
qued 41676f3
fix: never let a chunk cross a row-group boundary through a rowspan="…
qued 99b8144
fix: also treat a clipped positive rowspan as a hard chunk boundary
qued 6490396
Rewrite chunked-table rowspan handling to self-correct emitted span v…
qued 6329162
fix: preserve cell content when correcting a clipped rowspan, and bou…
qued 47dcebb
fix: bound a singleton oversized row's rowspan before cell-splitting
qued fbd28d1
Squash the CHANGELOG/version noise from 10 review rounds into one entry
qued 6e37aa8
Trim excessive comments and docstrings added across the review-fix ro…
qued 1aa5dae
Trim history-narrating comments down to stating the current test cont…
qued 842a170
Fix duplicate merged-cell text in nested DOCX tables, remove unreacha…
qued 3da7cb7
Fix rowspan handling across row-group boundaries and oversized rowspa…
qued 8309692
Preserve colspan/rowspan when splitting oversized cells and serializi…
qued 89a2159
Account for colspan and HTML escaping when splitting oversized table …
qued 4f3f81d
Assert the escaped HTML directly in the cell-escaping split test
qued File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| __version__ = "0.27.5" # pragma: no cover | ||
| __version__ = "0.27.6" # pragma: no cover |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
P2: The 0.27.6 release note overstates the chunking fix: boundaries between rows sharing a rowspan can still misattribute spanned rows, according to the stated scope of this PR. Remove the chunking claim or qualify it to describe only the cases actually fixed.
Prompt for AI agents