Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tables with incomplete columns are not parsed correctly #1193

@je-ru

Description

@je-ru

docx_table_bug.zip

If a table contains an additional column in the second row, the cells are not assigned correctly:

Please see the attached code example.

Used classes:

docx.table.Table
docx.oxml.table.CT_Tbl

Example:

Input word table:

A1	B1	C1
A2	B2	C2	D2

Output:

A1	B1	C1   A2
B2	C2	D2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions