Skip to content

Commit

Permalink
Fix simple_format output example ending tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Bridges committed Jul 9, 2013
1 parent 69e7e6b commit 7e1cb39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionview/lib/action_view/helpers/text_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 7e1cb39

Please sign in to comment.