aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2009-10-09 18:36:58 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2009-10-09 18:36:58 -0700
commit6395c7bed2d7eee7c4a2e1836b2d9286e79172e4 (patch)
tree78e895776f94de846ccd0b5ac7c88cc2d77dacc1 /actionmailer
parented139730ff4ea4574cf3d234dd7cc76db3663b2f (diff)
downloadrails-6395c7bed2d7eee7c4a2e1836b2d9286e79172e4.tar.gz
rails-6395c7bed2d7eee7c4a2e1836b2d9286e79172e4.tar.bz2
rails-6395c7bed2d7eee7c4a2e1836b2d9286e79172e4.zip
Mark html safety
Diffstat (limited to 'actionmailer')
-rw-r--r--actionmailer/test/fixtures/helpers/example_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionmailer/test/fixtures/helpers/example_helper.rb b/actionmailer/test/fixtures/helpers/example_helper.rb
index d66927aa60..f6a6a49ced 100644
--- a/actionmailer/test/fixtures/helpers/example_helper.rb
+++ b/actionmailer/test/fixtures/helpers/example_helper.rb
@@ -1,5 +1,5 @@
module ExampleHelper
def example_format(text)
- "<em><strong><small>#{text}</small></strong></em>"
+ "<em><strong><small>#{h(text)}</small></strong></em>".html_safe!
end
end