Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

mail_to shouldnt include language attribute in script tag #3364 [dona…

…ld.piret@synergetek.be]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3662 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit d94af9a61f059a16306486b363640c71ee4a2810 1 parent 231a464
@dhh dhh authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionpack/lib/action_view/helpers/url_helper.rb
View
2  actionpack/lib/action_view/helpers/url_helper.rb
@@ -218,7 +218,7 @@ def mail_to(email_address, name = nil, html_options = {})
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/
Please sign in to comment.
Something went wrong with that request. Please try again.