Free Support Forum - aspose.com

Lists in HTML

We have found a problem with lists when we save document as HTML. Here is a sample app:WordTest.zip (537.4 KB)

Steps to reproduce:

  1. Open project in Visual Studio
  2. Set aspose license
  3. Run the app. Select destination folder and press a button.
  4. Go to the destination folder and copy all files to somewhere else
  5. After you generate new files, please compare ByHtmlTags.html with ByHtmlTags-Embedded.html and AsInlineText.html with AsInlineText-Embedded.html.

The problem is this line of code:
options.CssStyleSheetType = CssStyleSheetType.Embedded;
when we generate lists with this settings, they looks bad:
For example (AsInlineText):
AsInlineText-compare.png (34.5 KB)
and (ByHtmlTags)
ByHtmlTags-compare.png (33.7 KB)

If you need more info, please let me know
Thanks

@mmdevelopment,

We have logged this problem in our issue tracking system with ID WORDSNET-21648. We will further look into the details of this problem and will keep you updated on the status of linked issue. We apologize for your inconvenience.