Skip to content
Browse files

Fix simple_format output example ending tag

  • Loading branch information...
1 parent 69e7e6b commit 7e1cb39f7257e24672761e4e309330bf85d7c270 @mdespuits mdespuits committed Jul 9, 2013
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)

0 comments on commit 7e1cb39

Please sign in to comment.
Something went wrong with that request. Please try again.