Convert HTML to DOC using image source with a space

Aspose.Words for Java v17.6

I have a legacy system that generates html files with image source containing a space at the end.
For example, img src= "https://www.w3schools.com/css/paris.jpg "

Using Aspose.Words to convert HTML to DOC, image isn’t included in the doc file.
However, using MS Word to convert HTML to DOC includes image in the doc file.

How to fix the Aspose conversion to ignore space at the end of the image source and includes image in doc file?

Please see the files that I use to reproduce that behavior.
htmlToDoc.zip (9.0 KB)

@cpatricio76

Thanks for your inquiry. We have noticed that Aspose.Words for Java is not converting your shared HTML to DOC as expected. We have logged a ticket WORDSJAVA-1622 in our issue tracking system for further investigation and rectification. We will notify you as soon as it is resolved.

We are sorry for the inconvenience.

Best Regards,

@cpatricio76,

The issues you have found earlier (filed as WORDSJAVA-1622) have been fixed in this Aspose.Words for .NET 17.8 update and this Aspose.Words for Java 17.8 update.

@awais.hafeez

It is fixed. Thanks.