From 7e1cb39f7257e24672761e4e309330bf85d7c270 Mon Sep 17 00:00:00 2001 From: Matt Bridges Date: Tue, 9 Jul 2013 14:09:26 -0500 Subject: Fix simple_format output example ending tag --- actionview/lib/action_view/helpers/text_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 # # => "

Unblinkable.

" # # simple_format("Blinkable! It's true.", {}, sanitize: false) - # # => "

Blinkable! It's true.

" + # # => "

Blinkable! It's true.

" def simple_format(text, html_options = {}, options = {}) wrapper_tag = options.fetch(:wrapper_tag, :p) -- cgit v1.2.3