From e19c84b5a32a910be41740068d996ed622ea6f90 Mon Sep 17 00:00:00 2001 From: danielgrippi Date: Wed, 21 Mar 2012 13:58:20 -0700 Subject: [PATCH] remove the monkey patch that didn't work. --- .../initializers/patch_active_support_output.rb | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 config/initializers/patch_active_support_output.rb diff --git a/config/initializers/patch_active_support_output.rb b/config/initializers/patch_active_support_output.rb deleted file mode 100644 index 2b24cbd03..000000000 --- a/config/initializers/patch_active_support_output.rb +++ /dev/null @@ -1,16 +0,0 @@ -# this is a temp monkey patch to suppress errors in rails 3.1 -# it was fixed in 3.2, but it does not look like they are going to backport -# see: https://github.com/rails/rails/issues/3927 -class ERB - module Util - def html_escape(s) - s = s.to_s - if s.html_safe? - s - else - silence_warnings { s.gsub(/[&"><]/n) { |special| HTML_ESCAPE[special] }.html_safe } - end - end - end -end -