I have HTML (which I cannot change easily) together with CSS that styles some ul elements with list-style-type:none. Loading this into Aspose.Words 15.5 and converting to PDF renders filled circles in the Output instead of “nothing”.
I found, in this Forum, feature WORDSNET-6795 which, in http://www.aspose.com/community/files/51/.net-components/aspose.words-for-.net/entry435076.aspx, explicitlty mentions only support for ordered lists.
What can I do short of preprocessing my HTML to apply a type=“none” to the relevant ul’s?
Hi Arne,
Thanks for your inquiry. I have tested the scenario and have managed to reproduce the same issue at my side. For the sake of correction, I have logged this problem in our issue tracking system as WORDSNET-11999. I have linked this forum thread to the same issue and you will be notified via this forum thread once this issue is resolved.
We apologize for your inconvenience.
The issues you have found earlier (filed as WORDSNET-11999) have been fixed in this .NET update and this Java update.
This message was posted using Notification2Forum from Downloads module by aspose.notifier.
I have checked my Scenario with Version 16.2 of Aspose.Words and the circle is still rendered.
The source of the styling Information is a CSS-file, not the style attribute of the ul element itself.
When I apply the style Attribute to the ul explicitly, everything Looks as intended.
Hi Arne,
Thanks for your inquiry. We have tested the scenario using following html and have not found the shared issue. Please share your input html and problematic output document here for testing purposes. We will investigate the issue on our side and provide you more information.
Hi Tahir,
I reviewed the html / css: the css rule applies to the li element, not to the containing ul. I’m preplexed and sorry for not mentioning this in the initial description.
I could not figure out how to quote HTML in this Forum, so I attached a sample file demonstrating the issue.
Hi Arne,
Thanks for sharing the detail. We have converted the shared input html to Docx/Pdf and have not found any issue with output. If you open your input in browser, you will get the same output. Please check the attached image and output Pdf for detail and let us know if you have any more queries.
Hi Tahir,
this becomes embarrassing for me
In the attached HTML, the CSS selector was wrong (#on-li .li instead of #on-li li)
Find attached a corrected version.
The issues you have found earlier (filed as WORDSNET-13309) have been fixed in this .NET update and this Java update.
This message was posted using Notification2Forum from Downloads module by aspose.notifier.