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

Free Support Forum - aspose.com

Issue converting html to docx with images and tables

Hi, aspose support team,

I have an issue when converting hmtl to docx, when I have an image below a table, the space after the table and before the image is not considered.

The html file to convert:
htmlTest.zip (482 Bytes)
And the result after the conversion:
Extraction - result.JPG (13.4 KB)

Is this a issue in your product?

Kind regards,


We have converted “htmlTest.html” file to DOCX format (see 18.10.zip (53.4 KB)) by using the latest version of Aspose.Words for .NET i.e. 18.10 on our end. We used the following simple code for testing:

Document doc = new Document("D:\\\htmlTest\\htmlTest.html");

Do you see the same problem in this 18.10.docx? If not, we suggest you please upgrade to the latest version.

Hi again,
Thank your for your feedback.
We are using aspose words for java version 18.7.
Could you check if in this version the issue exists?
Thanks in advance,
Best regards,


We do not see this issue even when using Aspose.Words for Java 18.7 (see awjava-18.7.zip (53.5 KB)) on our end.

Can you please also ZIP and upload Aspose.Words generated DOCX file showing the undesired behavior here for our reference?