diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-01-17 23:34:17 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-01-17 23:34:17 -0300 |
commit | c65f79deae45e0f5d8980b6fd3197a3da5fcd572 (patch) | |
tree | 5549cd65ed2af91b1777eac017aedd8a5f4d075b | |
parent | 014da68634c59a7df1950dd7b838fd0ba5181969 (diff) | |
download | rails-c65f79deae45e0f5d8980b6fd3197a3da5fcd572.tar.gz rails-c65f79deae45e0f5d8980b6fd3197a3da5fcd572.tar.bz2 rails-c65f79deae45e0f5d8980b6fd3197a3da5fcd572.zip |
No need to call html_safe since concat two SaffeBuffers always results in a SafeBuffer
-rw-r--r-- | actionpack/lib/action_view/helpers/form_tag_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/form_tag_helper.rb b/actionpack/lib/action_view/helpers/form_tag_helper.rb index c16c4641c4..57b90a9c42 100644 --- a/actionpack/lib/action_view/helpers/form_tag_helper.rb +++ b/actionpack/lib/action_view/helpers/form_tag_helper.rb @@ -636,7 +636,7 @@ module ActionView def form_tag_html(html_options) extra_tags = extra_tags_for_form(html_options) - (tag(:form, html_options, true) + extra_tags).html_safe + tag(:form, html_options, true) + extra_tags end def form_tag_in_block(html_options, &block) |