Robert Walker wrote in post #956422:
> 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).

It's been resolved for years.  Try the html_output plugin.
>
> 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.

Why?  I thought it was the best format to use for older browsers that 
don't know from HTML 5.

Best,
-- 
Marnen Laibow-Koser
http://www.marnen.org
[email protected]

-- 
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 [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