aboutsummaryrefslogtreecommitdiffstats
path: root/app/helpers
diff options
context:
space:
mode:
authorfrancis <francis>2007-08-23 14:06:27 +0000
committerfrancis <francis>2007-08-23 14:06:27 +0000
commita1e4c20771831d0a2bfe0fd6ee098818dd2b7d47 (patch)
tree24c42302a85378df9454519e100da8c9fa591295 /app/helpers
parent4b9eb7648911ca18c120264d97eaceb710bd6fac (diff)
Make it HTML 4.0 strict.
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/application_helper.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index 22a7940eb..07bc01d6d 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -1,3 +1,10 @@
# Methods added to this helper will be available to all templates in the application.
module ApplicationHelper
+
+ # This was the best solution I could find to this, yeuch.
+ # http://www.ruby-forum.com/topic/88857
+ def stylesheet_link_tag_html4( _n )
+ return stylesheet_link_tag( _n ).gsub( ' />', '>' )
+ end
+
end