DirtyHtmlParser
HtmlParser wirtten in .net.
Reads not well formed html into a DOM.

Example of usage

HtmlParser.Document htmlDoc = new HtmlParser.Document(dirtyHtmlString);
HtmlParser.ParserUtils.FixCommonUnfinishedTags(htmlDoc);
HtmlParser.ParserUtils.MakeXmlValid(htmlDoc);
string html = htmlDoc.GetHtml(); //* well formed html.

Last edited Jan 15, 2008 at 4:05 PM by thorgeir, version 3