Skip to content

Commit

Permalink
No need to call html_safe since concat two SaffeBuffers always result…
Browse files Browse the repository at this point in the history
…s in a SafeBuffer
  • Loading branch information
rafaelfranca committed Jan 18, 2012
1 parent 014da68 commit c65f79d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionpack/lib/action_view/helpers/form_tag_helper.rb
Expand Up @@ -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)
Expand Down

0 comments on commit c65f79d

Please sign in to comment.