mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix simple_format output example ending tag
This commit is contained in:
parent
69e7e6ba89
commit
7e1cb39f72
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue