I am using Aspose V126.96.36.199 for creating worksheets with some values in Excel where value is having all combination of HTML tags in it. For example we need to create an excel sheet with a cell having HTML local formatting tags in its cell value. The code sample we are using is like below :
string value = @"SuperScript
This is a seperation line
Superscript - A2
cell.HtmlString = System.Web.HttpUtility.HtmlDecode(value);
Once after populating the cell value, we could see the difference in formatting when we compare the same the HTML value in any browser. We need to match the formatting exactly as it appears in the browser, in the newly created excel sheet.