Hi,
I am using Aspose V5.0.0.0 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
SubScript
(a+b)2H2O
(a+b)2
This is a seperation line
H2O
H2OCO2
(a+b)2(a-b)2
Superscript - A2
Subscript -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.