diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2006-02-26 01:10:05 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2006-02-26 01:10:05 +0000 |
commit | d94af9a61f059a16306486b363640c71ee4a2810 (patch) | |
tree | 329c761351008058b88706298fb6a7b82a1cfb4b /actionpack/lib/action_view/helpers/url_helper.rb | |
parent | 231a464d4e1795283410fb98b7740bed2b2e76a1 (diff) | |
download | rails-d94af9a61f059a16306486b363640c71ee4a2810.tar.gz rails-d94af9a61f059a16306486b363640c71ee4a2810.tar.bz2 rails-d94af9a61f059a16306486b363640c71ee4a2810.zip |
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
Diffstat (limited to 'actionpack/lib/action_view/helpers/url_helper.rb')
-rw-r--r-- | actionpack/lib/action_view/helpers/url_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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/ |