Forum: Ruby on Rails javascript_include_tag emits self-closing <script> tag

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
akonsu (Guest)
on 2007-01-09 04:59
(Received via mailing list)

here is a sample rhtml:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
<html xmlns="" xml:lang="en" lang="en">
  <head><%= javascript_include_tag :defaults %></head>

the call to javascript_include_tag outputs self-closing <script />
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?

This topic is locked and can not be replied to.