Hi, we have noticed that images are getting lost when using Aspose.Words to load an html document that has images with a schema-less absolute paths. Here is an example of the image element:
<img src="//upload.wikimedia.org/wikipedia/commons/thumb/c/ce/Division_of_MELBOURNE_2016.png/270px-Division_of_MELBOURNE_2016.png">
Note that we are setting the baseUri as part of the LoadOptions constructor… like this:
new HtmlLoadOptions(LoadFormat.Html, null, "https://en.wikipedia.org/wiki/Division_of_Melbourne")
We are saving the document back to html with the option to ExportImagesAsBase64, like this:
new HtmlSaveOptions(SaveFormat.Html) { ExportImagesAsBase64 = true }
I would have expected Aspose.Words to get the scheme from the baseUri (https) and use that to retrieve the image, but it’s not doing that and the result is an image with a red X.
Thanks