From d94af9a61f059a16306486b363640c71ee4a2810 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson <david@loudthinking.com> Date: Sun, 26 Feb 2006 01:10:05 +0000 Subject: mail_to shouldnt include language attribute in script tag #3364 [donald.piret@synergetek.be] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3662 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/lib/action_view/helpers/url_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actionpack/lib/action_view/helpers/url_helper.rb b/actionpack/lib/action_view/helpers/url_helper.rb index 3f95b7a4bb..b3dd58370e 100644 --- a/actionpack/lib/action_view/helpers/url_helper.rb +++ b/actionpack/lib/action_view/helpers/url_helper.rb @@ -218,7 +218,7 @@ module ActionView for i in 0...tmp.length string << sprintf("%%%x",tmp[i]) end - "<script type=\"text/javascript\" language=\"javascript\">eval(unescape('#{string}'))</script>" + "<script type=\"text/javascript\">eval(unescape('#{string}'))</script>" elsif encode == 'hex' for i in 0...email_address.length if email_address[i,1] =~ /\w/ -- cgit v1.2.3