Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Make Action View produce HTML rather than XHTML

branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

HTML Output

This miniscule Rails plugin stops Rails outputting self-closing (XHTML-style) markup which is useful if you want to use the Rails tag helpers and produce valid HTML.

Works with Rails 2.3 and 3.0.


  • Rails 3: Add gem "rails_html_output" to your Gemfile.
  • Rails 2.3: Add config.gem "rails_html_output" to your config/environment.rb.
Something went wrong with that request. Please try again.