Free Support Forum -

Word to HTML Paragraph Formatting Issue

Aspose team,

We are using JDK1.8 and we are using aspose-words-18.6-jdk16.jar in our Java application for generating the HTML out of word document.

I have attached the word document , HTML file generated out of word document and sample code to generate HTML file with this email.

The output HTL file’s first paragraph is left indented and right side of the paragraph has some blank spaces which is incorrect(Issue.png).

The space on right side of the paragraph is unacceptable and it should be formatted same as other paragraphs of HTML.

Please let us know reason behind the issue and let us know if more details are needed from our side.

Jinesh (276.4 KB)


We tested the scenario and have managed to reproduce the same problem on our end. For the sake of correction, we have logged this problem in our issue tracking system. The ID of this issue is WORDSNET-17638. We will further look into the details of this problem and will keep you updated on the status of correction. We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSNET-17638) have been fixed in this Aspose.Words for .NET 19.1 update and this Aspose.Words for Java 19.1 update.