aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers/form_tag_helper.rb
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2010-06-30 00:12:48 +0200
committerXavier Noria <fxn@hashref.com>2010-06-30 00:32:26 +0200
commitec3bfa2ead7337fe99ff036d4b8b5ae0a321f8cd (patch)
tree279fc483dc43b82d1c29b9f49263dc686d821bca /actionpack/lib/action_view/helpers/form_tag_helper.rb
parentcba1460a2fe2bbe1153620582a66e03cec9ba7a5 (diff)
downloadrails-ec3bfa2ead7337fe99ff036d4b8b5ae0a321f8cd.tar.gz
rails-ec3bfa2ead7337fe99ff036d4b8b5ae0a321f8cd.tar.bz2
rails-ec3bfa2ead7337fe99ff036d4b8b5ae0a321f8cd.zip
s/escape_once/html_escape/, since html safety is the contract that now says whether something has to be escaped
Diffstat (limited to 'actionpack/lib/action_view/helpers/form_tag_helper.rb')
-rw-r--r--actionpack/lib/action_view/helpers/form_tag_helper.rb2
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 7fea5eb055..4c1b751160 100644
--- a/actionpack/lib/action_view/helpers/form_tag_helper.rb
+++ b/actionpack/lib/action_view/helpers/form_tag_helper.rb
@@ -539,7 +539,7 @@ module ActionView
def extra_tags_for_form(html_options)
snowman_tag = tag(:input, :type => "hidden",
- :name => "_snowman", :value => "&#9731;")
+ :name => "_snowman", :value => "&#9731;".html_safe)
method = html_options.delete("method").to_s