1. This is H1
    1. This is H2
    2. Another H2
  2. This is another H1
    1. This is H2
    2. Another H2
  3. Last H1
    1. This is H2
    2. Another H2
Looks how cool is Open Xml. Now with HtmlToOpenXml, it nevers been so easy to convert html.

If you like it, add me a rating on codeplex


public void SetContentType(System.Web.HttpRequest request, System.Web.HttpResponse response, String reportName)
{
	if (request.Browser.Browser.Contains("IE"))
	{
		// Replace the %20 to obtain a clean name when saving the file from Word.
		encodedFilename =
		  Uri.EscapeDataString(Path.GetFileNameWithoutExtension(encodedFilename)).Replace("%20", " ")
			+ Path.GetExtension(encodedFilename);
	}
}

An ordered list:

  1. Coffee
  2. Tea
  3. Milk
  4. Wine

An unordered list: