title: How to clean up poorly HTML in ASP.NET application
body: <p>I have an asp web page that is created run time. It has a static template but the elements of page and its information created based on user inputs in other pages of application.
  And user can insert data in html format too. the problem is happen when user input data in html format but he/she forgets to close html tags or so on.
  It doesn't cause crash in application, but browser will be confuse when it wants to display a page. 
  I need to clean up or parse user input in the run time when page is created. 
  Is any one knows how to do this? Is there any library or function for ASP.net?</p>
  
  <p>Thanks.</p>