diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-12-03 17:26:49 -0200 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-12-03 17:26:49 -0200 |
commit | da633f81eb529e2a9f3a731ecdf205ecff186cf3 (patch) | |
tree | 5be3036e30b741d69cee22248213e6b7bc1437e5 /actionview/lib/action_view | |
parent | dba82120fe58d7a87973aef11bc7d85ee8ebf258 (diff) | |
download | rails-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/lib/action_view')
-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 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 |