Skip to content

Commit

Permalink
fix(text): Fix truncated text issue in cells with rowspan
Browse files Browse the repository at this point in the history
Fixes #1155
  • Loading branch information
kesara committed Nov 14, 2024
1 parent 7b8ed97 commit 6bc890a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xml2rfc/writers/text.py
Original file line number Diff line number Diff line change
Expand Up @@ -4179,7 +4179,7 @@ def set_colwidths(cells, rows, cols):
k, l = cell.origin
hspan = cell.rowspan+k-i if cell.rowspan else minspan
lines = len(cell.wrapped) if cell.wrapped else 0
if hspan == minspan and lines > maxlines:
if lines > maxlines:
maxlines = lines
for j in range(cols):
cells[i][j].lines = maxlines
Expand Down

0 comments on commit 6bc890a

Please sign in to comment.