diff --git a/actionpack/lib/action_view/helpers/text_helper.rb b/actionpack/lib/action_view/helpers/text_helper.rb index 67117077dcc30..db146d4a68fce 100644 --- a/actionpack/lib/action_view/helpers/text_helper.rb +++ b/actionpack/lib/action_view/helpers/text_helper.rb @@ -235,13 +235,16 @@ def word_wrap(text, *args) # # ==== Options # * :sanitize - If +false+, does not sanitize +text+. - # * :wrapper_tag - String representing the tag wrapper, defaults to "p" + # * :wrapper_tag - String representing the wrapper tag, defaults to "p" # # ==== Examples # my_text = "Here is some basic text...\n...with a line break." # # simple_format(my_text) # # => "

Here is some basic text...\n
...with a line break.

" + # + # simple_format(my_text, :wrapper_tag => "div") + # # => "
Here is some basic text...\n
...with a line break.
" # # more_text = "We want to put a paragraph...\n\n...right there." #