drmacro / wordinator

Generate high-quality DOCX files using a simplified XML format (simple word processing XML).
Apache License 2.0
38 stars 8 forks source link

Empty table cells (td with no child elements) break Word #134

Closed drmacro closed 10 months ago

drmacro commented 10 months ago

When a table has a element with no children, it's reported as unreadable content when opening the DOCX file.

Adding an empyt

and solves the issue.

Proposed solution: Generate empty

and when a is empty.