When I cover html to word , the tag “” is no problem .
However , the tag “
How can I solve the problem
When I cover html to word , the tag “” is no problem .
However , the tag “
Please ZIP and upload your input HTML file and output DOCX file showing the undesired behavior here for testing. We will investigate the issue on our end and provide you more information.
Hi
This is my code.
The first picture shows correctly, but the second one does not. How can I show the picture in span with style like background-image ?
Thanks
Code:
Document doc = new Document("D:\\test\\test.html");
doc.save("D:\\test\\test.doc");
This is my Filetest.zip (18.2 KB)
Thanks for your inquiry. While using the latest version of Aspose.Words i.e. 18.3, we managed to reproduce this issue on our end. We have logged this issue in our bug tracking system. The ID of this issue is WORDSNET-16654. Your thread has also been linked to this issue and you will be notified as soon as it is resolved. Sorry for the inconvenience.
Aspose.Words currently does not support the ‘background-image’ style on inline elements, because there is no counterpart for them in the document model. However, in this particular scenario we could treat empty inline-block spans with ‘background-image’ as inline elements. Please use the
element for images.