Rails 3 (last time I fooled with it, which was pre-release) shipped with a completely HTML5 scaffold system, encouraging you to write your own bits in HTML5 as well.

Walter

On Oct 22, 2010, at 5:08 PM, Robert Walker wrote:

Mathias Wittlock wrote in post #170114:
Is there any way to make functions like stylesheet_link_tag and
image_tag output HTML4 rather then XHTML? (i.e. without the trailing
slash in the tags). Both functions are very helpful in keeping the
site portable and such, but if they're making my HTML code invalid I
just cannot use them.

This is definitely something that needs to be resolved for Rails (if
it's not already and I just don't know about it).

However, I say this not for HTML 4 compliance. I couldn't care less
about HTML 4. I left that in the dust quite a while back. I say this
because I want HTML 5 compliance. HTML 5 will officially support both
HTML and XHTML formats. Rails needs to be configureable to work with
either IMHO.

I have no idea how difficult of a proposition that is though.

--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails- [email protected]. To unsubscribe from this group, send email to [email protected] . For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en .


--
You received this message because you are subscribed to the Google Groups "Ruby on 
Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to