See the question and my original answer on StackOverflow

Short answer is no. If you need to manipulate the content as a DOM, the HTML has to be correctly nested.

However, if you can live with all TR content as pure text (not DOM), than you could add this at the beginning of your processing:

ElementsFlags.Add("tr", HtmlElementFlag.CanOverlap | HtmlElementFlag.Empty);

But like if say, if you do this, everything between TR tags will be seen as text data, not as a DOM tree, so for example, you won't be able to do XPATH queries on the child DIV nodes.