diff options
author | Matt Bridges <mbridges.91@gmail.com> | 2013-07-09 14:09:26 -0500 |
---|---|---|
committer | Matt Bridges <mbridges.91@gmail.com> | 2013-07-09 14:09:26 -0500 |
commit | 7e1cb39f7257e24672761e4e309330bf85d7c270 (patch) | |
tree | 20dec17bfe1d5c86f81e8da07d75129ba123afc8 | |
parent | 69e7e6ba89cb1f6aef60d5a446a68785a867c9dd (diff) | |
download | rails-7e1cb39f7257e24672761e4e309330bf85d7c270.tar.gz rails-7e1cb39f7257e24672761e4e309330bf85d7c270.tar.bz2 rails-7e1cb39f7257e24672761e4e309330bf85d7c270.zip |
Fix simple_format output example ending tag
-rw-r--r-- | actionview/lib/action_view/helpers/text_helper.rb | 2 |
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) |