Question: How do I configure Ruby on Rails to output standard HTML code instead of XHTML when using helpers (form, javascript, css, etc.)?

I **don't** want to have the slash at the end:

```
<input name="email" type="text" />

```

Answer: 
See <http://railsforum.com/viewtopic.php?id=21941>

-- MarkusQ
For rails `2.3`:

Install the gem `haml` then add the following initializer `config/initializers/force_html4.rb`:

```
Haml::Template::options[:format] = :html4

module StandardistaHelper
  def tag(name, options = nil, open = false, escape = true)
    "<#{name}#{tag_options(options, escape) if options}>"
  end
end

ActionView::Base.send :include, StandardistaHelper

ActionView::Helpers::InstanceTag.class_eval do
  def tag_without_error_wrapping(name, options = nil, open = false, escape = true)
    "<#{name}#{tag_options(options, escape) if options}>"
  end
end

```