From a1e4c20771831d0a2bfe0fd6ee098818dd2b7d47 Mon Sep 17 00:00:00 2001 From: francis Date: Thu, 23 Aug 2007 14:06:27 +0000 Subject: Make it HTML 4.0 strict. --- app/helpers/application_helper.rb | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'app/helpers/application_helper.rb') 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 -- cgit v1.2.3