I needed something to validates my HTML templates so I wrote a plugin
and here is its first version:
RailsTidy is a plugin for Ruby On Rails. It allows you to
* validate your rhtml templates, * validate the html output of your functional tests, * clean the html generated by rails.
For doing all this, it uses
* Tidy, the popular HTML validator and * RubyTidy, Ruby bindings for Tidy.
More on the RailsTidy page.
* Installation instruction, usage and so on are at http://www.cosinux.org/~dam/projects/rails-tidy/doc/, * Source tree is at
I’ve seen in recents posts that people where looking for something
to clean their HTML output. The plugin can do it, but this hits
quite a bit.
Hope this helps some peoples,
PS: If someone has the correct mail for the ruby tidy bindings author,
send it to me ? The rubyforge adress seems to not be valid anymore.
Scientists have estimated that the energy given off during the Big Bang
is roughly equal to 1CNRhK (Chuck Norris Roundhouse Kick)