aboutsummaryrefslogtreecommitdiffstats
path: root/actionview
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2013-12-03 17:26:49 -0200
committerRafael Mendonça França <rafaelmfranca@gmail.com>2013-12-03 17:26:49 -0200
commitda633f81eb529e2a9f3a731ecdf205ecff186cf3 (patch)
tree5be3036e30b741d69cee22248213e6b7bc1437e5 /actionview
parentdba82120fe58d7a87973aef11bc7d85ee8ebf258 (diff)
downloadrails-da633f81eb529e2a9f3a731ecdf205ecff186cf3.tar.gz
rails-da633f81eb529e2a9f3a731ecdf205ecff186cf3.tar.bz2
rails-da633f81eb529e2a9f3a731ecdf205ecff186cf3.zip
Remove the escaping skip
We are generating safe strings in the paragraph, so we can escape the tags
Diffstat (limited to 'actionview')
-rw-r--r--actionview/lib/action_view/helpers/text_helper.rb2
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 0c956670b6..e75c6cabc9 100644
--- a/actionview/lib/action_view/helpers/text_helper.rb
+++ b/actionview/lib/action_view/helpers/text_helper.rb
@@ -268,7 +268,7 @@ module ActionView
content_tag(wrapper_tag, nil, html_options)
else
paragraphs.map! { |paragraph|
- content_tag(wrapper_tag, raw(paragraph), html_options, false)
+ content_tag(wrapper_tag, raw(paragraph), html_options)
}.join("\n\n").html_safe
end
end