aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--actionpack/lib/action_controller/templates/scaffolds/layout.rhtml2
-rw-r--r--railties/CHANGELOG4
-rw-r--r--railties/html/404.html2
-rw-r--r--railties/html/500.html2
-rw-r--r--railties/html/index.html2
5 files changed, 11 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/templates/scaffolds/layout.rhtml b/actionpack/lib/action_controller/templates/scaffolds/layout.rhtml
index 80996985d2..f03588ffa0 100644
--- a/actionpack/lib/action_controller/templates/scaffolds/layout.rhtml
+++ b/actionpack/lib/action_controller/templates/scaffolds/layout.rhtml
@@ -1,3 +1,5 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+ "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Scaffolding</title>
diff --git a/railties/CHANGELOG b/railties/CHANGELOG
index 18ab2ba0b9..b22851552a 100644
--- a/railties/CHANGELOG
+++ b/railties/CHANGELOG
@@ -1,8 +1,10 @@
*SVN*
+* Added a DOCTYPE of HTML transitional to the HTML files generated by Rails #1124 [Michael Koziarski]
+
* SIGTERM also gracefully exits dispatch.fcgi. Ignore SIGUSR1 on Windows.
-* Add the option to manually manage garbage collection in the FastCGI dispatcher. Set the number of requests between GC runs in your public/dispatch.fcgi. [skaes@web.de]
+* Add the option to manually manage garbage collection in the FastCGI dispatcher. Set the number of requests between GC runs in your public/dispatch.fcgi [skaes@web.de]
* Allow dynamic application reloading for dispatch.fcgi processes by sending a SIGHUP. If the process is currently handling a request, the request will be allowed to complete first. This allows production fcgi's to be reloaded without having to restart them.
diff --git a/railties/html/404.html b/railties/html/404.html
index edbc89bf99..0e1845619d 100644
--- a/railties/html/404.html
+++ b/railties/html/404.html
@@ -1,3 +1,5 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+ "http://www.w3.org/TR/html4/loose.dtd">
<html>
<body>
<h1>File not found</h1>
diff --git a/railties/html/500.html b/railties/html/500.html
index ee0c919c4a..a1001a008d 100644
--- a/railties/html/500.html
+++ b/railties/html/500.html
@@ -1,3 +1,5 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+ "http://www.w3.org/TR/html4/loose.dtd">
<html>
<body>
<h1>Application error (Apache)</h1>
diff --git a/railties/html/index.html b/railties/html/index.html
index f1d84b2c94..d547e7fa04 100644
--- a/railties/html/index.html
+++ b/railties/html/index.html
@@ -1,3 +1,5 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+ "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Rails: Welcome on board</title>