Permalink
Browse files

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

…s in a SafeBuffer
  • Loading branch information...
1 parent 014da68 commit c65f79deae45e0f5d8980b6fd3197a3da5fcd572 @rafaelfranca rafaelfranca committed Jan 18, 2012
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)

0 comments on commit c65f79d

Please sign in to comment.