Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

Fix simple_format output example ending tag
  • Loading branch information...
commit 4b6886a1403613022152a7196f87934765a930c6 2 parents 54eee8b + 7e1cb39
@rafaelfranca rafaelfranca authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionview/lib/action_view/helpers/text_helper.rb
View
2  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)
Please sign in to comment.
Something went wrong with that request. Please try again.