views:

340

answers:

1

Hi. I just installed HTML Tidy plugin for eclipse. I added the html.erb file type and now it will do its magic on my erb files. However it puts in the title tag and changes a lot of my characters to escape characters. How can I stop this from happening - or is there a ruby alternative which will go through my code, reindent, and stick in missing tags? I'm worried about a lot of my erb files since the built in formatter with Aptana is hard to use. I don't see any glaring errors when I view the page, but I'm sure there are some mismatched tags and stuff that I'd like to get rid of. Any recommendations?

A: 

I haven't tried it but found Rack::Tidy

Jeff Paquette