1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Remove the escaping skip

We are generating safe strings in the paragraph, so we can escape the
tags
This commit is contained in:
Rafael Mendonça França 2013-12-03 17:26:49 -02:00
parent dba82120fe
commit da633f81eb

View file

@ -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