Permalink
Browse files

Merge pull request #11383 from mattdbridges/simple-format-doc-fix

Fix simple_format output example ending tag
  • Loading branch information...
2 parents 54eee8b + 7e1cb39 commit 4b6886a1403613022152a7196f87934765a930c6 @rafaelfranca rafaelfranca committed Jul 9, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionview/lib/action_view/helpers/text_helper.rb
@@ -254,7 +254,7 @@ def word_wrap(text, options = {})
# # => "<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)

0 comments on commit 4b6886a

Please sign in to comment.