privateOmega / html-to-docx

HTML to DOCX converter
MIT License
390 stars 143 forks source link

Tables with RowSpans Display Incorrectly in Docx file #251

Open Sulakshana-info247 opened 3 months ago

Sulakshana-info247 commented 3 months ago

I'm experiencing an issue when converting HTML tables to a Word document. Specifically, tables that contain rowspan attributes do not appear as expected in the generated Word document. The alignment of cells is completely different from how they are displayed in the HTML source, leading to a messy and incorrect table layout in the final document. Steps to Reproduce: Create an HTML table that includes rowspan attributes across multiple cells. Using HTMLtoDOCX to convert the HTML table to a Word document. Open the resulting Word document and observe the table layout.

Is there any work around to get tables with merged row cells properly.

wxyer commented 3 months ago

i need help too