vendor/rails/actionmailer/test/fixtures/helpers/example_helper.rb in radiant-0.8.2 vs vendor/rails/actionmailer/test/fixtures/helpers/example_helper.rb in radiant-0.9.0.rc2
- old
+ new
@@ -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