aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers/form_helper.rb
diff options
context:
space:
mode:
authorSantiago Pastorino and José Ignacio Costa <santiago+jose@wyeworks.com>2010-02-04 21:14:46 -0200
committerJeremy Kemper <jeremy@bitsweat.net>2010-02-05 13:28:43 -0800
commite115eb097e3e5704b9861b6f2b92cc25d23de07c (patch)
tree7dc98fe10f7ac49052b15abc2c1caf74e39cfd09 /actionpack/lib/action_view/helpers/form_helper.rb
parentc65f4b1ffb3862909df7c883f3486e08425bdc6a (diff)
downloadrails-e115eb097e3e5704b9861b6f2b92cc25d23de07c.tar.gz
rails-e115eb097e3e5704b9861b6f2b92cc25d23de07c.tar.bz2
rails-e115eb097e3e5704b9861b6f2b92cc25d23de07c.zip
More html_safe strings now use the safe_concat method
[#3856 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Diffstat (limited to 'actionpack/lib/action_view/helpers/form_helper.rb')
-rw-r--r--actionpack/lib/action_view/helpers/form_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/form_helper.rb b/actionpack/lib/action_view/helpers/form_helper.rb
index c2ad7e9f77..238f2eb07a 100644
--- a/actionpack/lib/action_view/helpers/form_helper.rb
+++ b/actionpack/lib/action_view/helpers/form_helper.rb
@@ -309,7 +309,7 @@ module ActionView
options[:html][:remote] = true if options.delete(:remote)
- concat(form_tag(options.delete(:url) || {}, options.delete(:html) || {}))
+ safe_concat(form_tag(options.delete(:url) || {}, options.delete(:html) || {}))
fields_for(object_name, *(args << options), &proc)
safe_concat('</form>')
end