We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

How to restrict HTML tage in the excel report

Hello,

we are using Aspose.cells to generate the excel report in our application

for some cells we are getting the HTML tags (&nbsp&br etccc)

how can we resolve this.

Regards,

Anusha Vallabhaneni.

Hi Anusha,

Thanks for your posting and using Aspose.Cells.

It seems to be a bug which should be fixed. Please download and try the latest version:

        <a href="https://forum.aspose.com/t/36555">Aspose.Cells
            for .NET v8.6.3.5</a> and see if it makes any difference and resolves your issue.<br><br>If you still find this issue, then please provide us your source excel file which you are converting to HTML. We will look into it and fix this issue.<br><br>If you are adding HTML code yourself inside the Excel cells, then please don't use <b>Cell.PutValue()</b> method but use <b>Cell.HtmlString</b> property.<br><br>Please check this article that describes how to add HTML code in a cell.<br><br>( http://www.aspose.com/docs/display/cellsnet/Adding+HTML+Rich+Text+inside+the+Cell )<br><br>