aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib/action_view/helpers/text_helper.rb
diff options
context:
space:
mode:
authorMatt Bridges <mbridges.91@gmail.com>2013-07-09 14:09:26 -0500
committerMatt Bridges <mbridges.91@gmail.com>2013-07-09 14:09:26 -0500
commit7e1cb39f7257e24672761e4e309330bf85d7c270 (patch)
tree20dec17bfe1d5c86f81e8da07d75129ba123afc8 /actionview/lib/action_view/helpers/text_helper.rb
parent69e7e6ba89cb1f6aef60d5a446a68785a867c9dd (diff)
downloadrails-7e1cb39f7257e24672761e4e309330bf85d7c270.tar.gz
rails-7e1cb39f7257e24672761e4e309330bf85d7c270.tar.bz2
rails-7e1cb39f7257e24672761e4e309330bf85d7c270.zip
Fix simple_format output example ending tag
Diffstat (limited to 'actionview/lib/action_view/helpers/text_helper.rb')
-rw-r--r--actionview/lib/action_view/helpers/text_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/lib/action_view/helpers/text_helper.rb b/actionview/lib/action_view/helpers/text_helper.rb
index 147f9fd8ed..6fe250d3c1 100644
--- a/actionview/lib/action_view/helpers/text_helper.rb
+++ b/actionview/lib/action_view/helpers/text_helper.rb
@@ -254,7 +254,7 @@ module ActionView
# # => "<p>Unblinkable.</p>"
#
# simple_format("<blink>Blinkable!</blink> It's true.", {}, sanitize: false)
- # # => "<p><blink>Blinkable!</span> It's true.</p>"
+ # # => "<p><blink>Blinkable!</blink> It's true.</p>"
def simple_format(text, html_options = {}, options = {})
wrapper_tag = options.fetch(:wrapper_tag, :p)