From 09ce54c6c09d878015102153cd214cf1d7ad3660 Mon Sep 17 00:00:00 2001 From: Matthew Landauer Date: Thu, 7 Mar 2013 17:01:06 +1100 Subject: Remove monkeypatch that makes tag helper html4 compliant --- lib/make_html_4_compliant.rb | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 lib/make_html_4_compliant.rb (limited to 'lib/make_html_4_compliant.rb') diff --git a/lib/make_html_4_compliant.rb b/lib/make_html_4_compliant.rb deleted file mode 100644 index 8926d5873..000000000 --- a/lib/make_html_4_compliant.rb +++ /dev/null @@ -1,8 +0,0 @@ -# Monkeypatch! Output HTML 4.0 compliant code, using method described in this -# ticket: http://dev.rubyonrails.org/ticket/6009 - -ActionView::Helpers::TagHelper.module_eval do - def tag(name, options = nil, open = false, escape = true) - "<#{name}#{tag_options(options, escape) if options}#{open ? ">" : ">"}".html_safe - end -end -- cgit v1.2.3