Free Support Forum -

Content missing when creating documents from HTML with html/body in one line


we use Aspose.Words 11.11.0 to convert HTML into different formats (png, docx...). Whenever that HTML contain html/body tags that are in one single line, the whole content is getting lost.

It does work when these tags are not sharing the same line:

The code for testing is like this:
Document document = new Document(filename);
document.Save("c:/mytarget.docx", SaveFormat.Docx);

I attach the html file that i used for testing. The issue does not occur for all HTML content.

Kind regards,

Hi Oliver,

Thanks for your inquiry.

While using the latest version of Aspose.Words i.e. 11.11.0, I managed to reproduce this issue on my side. I have logged this issue in our bug tracking system. The issue ID is WORDSNET-7608. Your request has also been linked to this issue and you will be notified as soon as it is resolved. Sorry for the inconvenience.

Best regards,

The issues you have found earlier (filed as WORDSNET-7608) have been fixed in this .NET update and this Java update.

This message was posted using Notification2Forum from Downloads module by aspose.notifier.