From d768ff1146b4784a59a38ff7cf979b7382ea57db Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 23 Feb 2005 12:31:05 +0000 Subject: Documentation fix #698 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@756 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/lib/action_view/helpers/url_helper.rb | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'actionpack/lib') diff --git a/actionpack/lib/action_view/helpers/url_helper.rb b/actionpack/lib/action_view/helpers/url_helper.rb index 313895c1be..951760b3ba 100644 --- a/actionpack/lib/action_view/helpers/url_helper.rb +++ b/actionpack/lib/action_view/helpers/url_helper.rb @@ -100,11 +100,12 @@ module ActionView # link unless +name+ is specified. Additional HTML options, such as class or id, can be passed in the html_options hash. # # You can also make it difficult for spiders to harvest email address by obfuscating them. - # Examples: - # * mail_to "me@domain.com", "My email", :encode => "javascript" - # => - # * mail_to "me@domain.com", "My email", :encode => "hex" - # => My email + # Examples: + # mail_to "me@domain.com", "My email", :encode => "javascript" # => + # + # + # mail_to "me@domain.com", "My email", :encode => "hex" # => + # My email def mail_to(email_address, name = nil, html_options = {}) encode = html_options[:encode] html_options.delete(:encode) -- cgit v1.2.3