This project has moved. For the latest updates, please go here.

Page not valid because of '<br>' tag

Oct 31, 2009 at 2:02 AM

Hello. My page gets html invalid because of the <br> tag. How do I replace the default <br>  with the valid-on <br/>

Mar 20, 2011 at 5:32 PM

You'll want to use the SGMLReader to clean up your HTML and make it valid XHTML.

http://developer.mindtouch.com/en/docs/SgmlReader

I use it all the time. It allows you to load your results into an XMLDocument.