Hi,
We have been using HtmlSaveOptions.ExportListLabels = ByHtmlTags to save the list labels to ul/li nodes in order to display the list properly and consistently in HTML.
This worked very well in the past but after upgrading Aspose to the latest version, this setting seems to be ignored and the ul/li nodes are no longer produced - the labels are still produced as inline text.
Code:
var document = new Document(@".\test.docx");
var saveOptions = new HtmlSaveOptions
{
ExportListLabels = ExportListLabels.ByHtmlTags
};
document.Save(@".\out23.9.0.html", saveOptions);
The issue doesn’t happen in the past version (e.g. Aspose.Words 23.3.0, even Aspose.Words 23.6.0).
I’ve attached the files and outputs produced by both the old and new version of Aspose.Words, and a screenshot for your reference. Could you please help to take a look?
test.zip (17.9 KB)
Thanks,