Text at the end of a line ends up next line converting to htm

Hello,


I have a document with a tab stop almost at the end of the line, when I type there Word writes from right to left (as if it was aligned to the right). I found out a weird issue, when converting to htm, that text is not positioned correctly sometimes. For some reason when the text on the right starts with an open parenthesis “(” Aspose miscalculates the space needed to align it to the right in the htm, I guess there might be some other characters with which this is happening as well.

Could you please have a look at that? I let you attached 4 documents, a docx with its conversion to htm when it is working, and the same 2 documents when it is not working.

Thank you.

Hi John,


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

I see, thanks for your reply. Will be checking that in the future before opening a new issue.