Disable Downlevel Revealed Comments while saving to HTML
Possible Usage Scenarios
When you save your Excel file to HTML, then Aspose.Cells for Python via .NET reveals Downlevel Conditional Comments. These conditional comments are mostly relevant to older versions of Internet Explorer and are irrelevant to modern Web Browsers. You can read about them in detail at the following link.
Aspose.Cells for Python via .NET allows you to eliminate these Downlevel Revealed Comments by setting the HtmlSaveOptions.disable_downlevel_revealed_comments property to true.
Disable Downlevel Revealed Comments while saving to HTML
The following sample code shows the usage of HtmlSaveOptions.disable_downlevel_revealed_comments property. The screenshot shows the effect of this property when it is not set to true. Please download the sample Excel file used in this code and the output HTML generated by it for a reference.