Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

No need to call html_safe since concat two SaffeBuffers always result…

…s in a SafeBuffer
  • Loading branch information...
commit c65f79deae45e0f5d8980b6fd3197a3da5fcd572 1 parent 014da68
@rafaelfranca rafaelfranca authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionpack/lib/action_view/helpers/form_tag_helper.rb
View
2  actionpack/lib/action_view/helpers/form_tag_helper.rb
@@ -636,7 +636,7 @@ def extra_tags_for_form(html_options)
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)
Please sign in to comment.
Something went wrong with that request. Please try again.