formatting

Dynamically generated HTML in C# to be formatted

Hi there, I have an ASP.NET web forms site with a rather large menu. The HTML for the menu is dynamically generated via a method in the C# as a string. I.e., what is being returned is something like this: <ul><li><a href='default.aspx?param=1&anotherparam=2'>LINK</a></li></ul> Except it is a lot bigger, and the lists are nested up to...