Expected: a docs with a table that looks like this
Actual:
File ".../lib/python3.10/site-packages/docx/table.py", line 89, in cell return self._cells[cell_idx] IndexError: list index out of range
Removing
<tr>
<th colspan="2">Monthly Savings</th>
</tr>
"resolves" the error, indicating colspan is causing this issue.
It seems there are others facing similar issues with rowspan and colspan are some PRs trying to address this issue.
Can the package be updated to resolve this issue? thanks in advance
A minimal example to reproduce:
Expected: a docs with a table that looks like this
Actual:
File ".../lib/python3.10/site-packages/docx/table.py", line 89, in cell return self._cells[cell_idx] IndexError: list index out of range
Removing
"resolves" the error, indicating
colspan
is causing this issue.It seems there are others facing similar issues with rowspan and colspan are some PRs trying to address this issue. Can the package be updated to resolve this issue? thanks in advance