aboutsummaryrefslogtreecommitdiffstats
path: root/lib/make_html_4_compliant.rb
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2013-03-19 14:02:25 -0700
committerLouise Crow <louise.crow@gmail.com>2013-03-19 14:02:25 -0700
commitb394b67663916c865452cc784d8642f72a305be5 (patch)
tree63c92172fe7813e6354da0ead628ed2192ef0ee2 /lib/make_html_4_compliant.rb
parent8d21293461ce4b564261686ab8d6460f5fe51259 (diff)
parentf83b917ec2c59da0ce7c27da19b740366da58419 (diff)
Merge branch 'release/0.8' into wdtk
Conflicts: app/controllers/admin_request_controller.rb app/views/contact_mailer/from_admin_message.rhtml
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