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: 
This answer is contained in the link provided by MarkusQ, but I figured I could spell it out exactly.

You have to modify the code than renders all tags, you can do that by including the following code into something like lib/dont\_use\_xhtml.rb

```
module ActionView::Helpers::TagHelper
  alias :tag_without_backslash :tag
     def tag(name, options = nil, open = true, escape = true)
        tag_without_backslash(name, options, open, escape)
     end 
  end 

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

-- MarkusQ