Html to word conversion is proper

Hi,

I am creating a word document using html file. After the conversion, I observed an issue.

The html file has a paragraph and a table. Between the paragraph and table there is a one line space in html file. But after the conversion i dont see this line space in the document.

I have attached both the html file and output document.

Hi Dharmender,

Thanks for your inquiry. Please note that Aspose.Words mimics the same behavior as MS Word does. If you convert your html to Docx using MS Word, you will get the same output.

I have noticed that there is incorrect <P> tag in your html which is causing the issue which you are facing. Please check the attached image for detail. I have modified the html and converted it to Docx using latest version of Aspose.Words for Java 14.7.0 and have not found any issue with output document. I have attached the input and output documents with this post for your kind reference.

Please let us know if you have any more queries.