Make Action View produce HTML rather than XHTML
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
README.md
init.rb
rails_html_output.gemspec

README.md

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.

Install

  • Rails 3: Add gem "rails_html_output" to your Gemfile.
  • Rails 2.3: Add config.gem "rails_html_output" to your config/environment.rb.