We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Insert HTML into document with column span generates incorrect output using .NET

Hello!
When I’m inserting html table with colspan attribute using DocumentBuilder then result word document has a wrong table. Row with colspan and row without colspan have a different width.
Attach contains simple html file and simple code .net.colspanIssue.zip (29.0 KB)

@pavlo.korenivskyi

Please do not use the method FixTables in your code to get the desired output. We have tested the scenario using the latest version of Aspose.Words for .NET 20.9 and have not found the shared issue. So, please use Aspose.Words for .NET 20.9.

If you want to use FixTables method and set the cells width of table to fixed value, please set the correct width of cells in each row of table.

Hi!
Thank you for the reply!