aboutsummaryrefslogtreecommitdiffstats
path: root/lib/make_html_4_compliant.rb
diff options
context:
space:
mode:
authorMatthew Landauer <matthew@openaustralia.org>2013-03-07 17:01:06 +1100
committerMatthew Landauer <matthew@openaustralia.org>2013-03-07 17:01:06 +1100
commit09ce54c6c09d878015102153cd214cf1d7ad3660 (patch)
tree3dd7aee34c3f19139dd03266ef6d00ed7eadbb01 /lib/make_html_4_compliant.rb
parentefc03c4724855b01422dd9164eecb20493f9cc95 (diff)
Remove monkeypatch that makes tag helper html4 compliant
Diffstat (limited to 'lib/make_html_4_compliant.rb')
-rw-r--r--lib/make_html_4_compliant.rb8
1 files changed, 0 insertions, 8 deletions
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