diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-07-09 12:12:08 -0700 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-07-09 12:12:08 -0700 |
commit | 4b6886a1403613022152a7196f87934765a930c6 (patch) | |
tree | cf9205bf230a07981ad5c16a47079aab83af1b48 /actionview | |
parent | 54eee8b5f28e05376626e98650d4bde8b8451603 (diff) | |
parent | 7e1cb39f7257e24672761e4e309330bf85d7c270 (diff) | |
download | rails-4b6886a1403613022152a7196f87934765a930c6.tar.gz rails-4b6886a1403613022152a7196f87934765a930c6.tar.bz2 rails-4b6886a1403613022152a7196f87934765a930c6.zip |
Merge pull request #11383 from mattdbridges/simple-format-doc-fix
Fix simple_format output example ending tag
Diffstat (limited to 'actionview')
-rw-r--r-- | actionview/lib/action_view/helpers/text_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/lib/action_view/helpers/text_helper.rb b/actionview/lib/action_view/helpers/text_helper.rb index 147f9fd8ed..6fe250d3c1 100644 --- a/actionview/lib/action_view/helpers/text_helper.rb +++ b/actionview/lib/action_view/helpers/text_helper.rb @@ -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) |