From: Dido Sevilla Date: 2006-06-22T01:33:40+09:00 Subject: Re: Correcting HTML in Ruby On 6/21/06, Roland Mai wrote: > I need to get content out of files which have incorrect HTML. > Is there any library that does that? It's not exactly what you're looking for but the W3C has a tool called HTML Tidy [1] which may be of help. It can fix a lot of brain damaged HTML, and even does wonders for the horrible HTML generated by MS Word. [1] http://www.w3.org/People/Raggett/tidy/