Free Support Forum -

Link Bootstrap CSS in HTML & Retain Unordered List during HTML to Word Conversion C# .NET

Problem: For a HTML input document, If a bootstap v3 css file is linked, unordered lists will always display a bullet, despite setting list-style-type or list-style to none

Version: Aspose.Words .NET, v17.3, v18.9

Description: Attached is a sample document, where a class is applied to sample lists in order to remove the item bullets. If the bootstrap css is included, bullets will always appear regardless of the list-style-type or list-style property setting. Attempting higher precedence via an inline style attribute, or !important, has no effect. If the bootstrap css link is removed, then the bullets no longer appear, as expected. Curiously, the bullet can be freely changed between disc/square/circle at will; the setting is honored in both scenarios. (482 Bytes)


For the sake of any correction, we have logged this problem in our issue tracking system. The ID of this issue is WORDSNET-17520. We will further look into the details of this problem and will keep you updated on the status of this issue. We apologize for your inconvenience.

Hello, the status on the ticket WORDSNET-17520 is marked as Closed, however this is still an issue in the latest build 19.7.

Was this ticket closed by mistake?


We have good news for you i.e. WORDSNET-17520 has now been resolved. The fix of this issue will be included in the 19.8 (next version) of Aspose.Words. We will inform you via this thread as soon as the next version containing the fix of your issue will be released in next few days.

The issues you have found earlier (filed as WORDSNET-17520) have been fixed in this Aspose.Words for .NET 19.8 update and this Aspose.Words for Java 19.8 update.