diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2009-10-09 18:36:58 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-10-09 18:36:58 -0700 |
commit | 6395c7bed2d7eee7c4a2e1836b2d9286e79172e4 (patch) | |
tree | 78e895776f94de846ccd0b5ac7c88cc2d77dacc1 | |
parent | ed139730ff4ea4574cf3d234dd7cc76db3663b2f (diff) | |
download | rails-6395c7bed2d7eee7c4a2e1836b2d9286e79172e4.tar.gz rails-6395c7bed2d7eee7c4a2e1836b2d9286e79172e4.tar.bz2 rails-6395c7bed2d7eee7c4a2e1836b2d9286e79172e4.zip |
Mark html safety
-rw-r--r-- | actionmailer/test/fixtures/helpers/example_helper.rb | 2 |
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 |