Javascript_include_tag emits self-closing <script> tag

hello,

here is a sample rhtml:

<%= javascript_include_tag :defaults %> test

the call to javascript_include_tag outputs self-closing
tags. which is not a proper strict xhtml according to the DTD, so IE
does not render the page. the page is just shown blank.

is there a way to make rails behave?

thanks
konstantin

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs