aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorMatt Duncan <mrduncan@gmail.com>2011-04-15 21:56:01 -0400
committerMatt Duncan <mrduncan@gmail.com>2011-04-15 21:56:01 -0400
commit1229904602b8c3b354a144ce33468be408cf9cec (patch)
tree8c111e873c78ba0335b45732c319d0e846110576 /actionpack
parentb6bfcc9115df00620e155a84f80d46342c1fe7ee (diff)
downloadrails-1229904602b8c3b354a144ce33468be408cf9cec.tar.gz
rails-1229904602b8c3b354a144ce33468be408cf9cec.tar.bz2
rails-1229904602b8c3b354a144ce33468be408cf9cec.zip
Removing incorrect example results
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_view/helpers/text_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_view/helpers/text_helper.rb b/actionpack/lib/action_view/helpers/text_helper.rb
index d1c505d2b5..06e2b027da 100644
--- a/actionpack/lib/action_view/helpers/text_helper.rb
+++ b/actionpack/lib/action_view/helpers/text_helper.rb
@@ -295,11 +295,11 @@ module ActionView
# +link+ as its optional second parameter and the +html_options+ hash
# as its optional third parameter:
# post_body = "Welcome to my new blog at http://www.myblog.com/. Please e-mail me at me@email.com."
- # auto_link(post_body, :urls) # => Once upon\na time
+ # auto_link(post_body, :urls)
# # => "Welcome to my new blog at <a href=\"http://www.myblog.com/\">http://www.myblog.com</a>.
# Please e-mail me at me@email.com."
#
- # auto_link(post_body, :all, :target => "_blank") # => Once upon\na time
+ # auto_link(post_body, :all, :target => "_blank")
# # => "Welcome to my new blog at <a href=\"http://www.myblog.com/\" target=\"_blank\">http://www.myblog.com</a>.
# Please e-mail me at <a href=\"mailto:me@email.com\">me@email.com</a>."
def auto_link(text, *args, &block)#link = :all, html = {}, &block)