Skip to content

Commit

Permalink
Append .html_safe in order to work as expected in Rails 3
Browse files Browse the repository at this point in the history
  • Loading branch information
agentrock authored and nbibler committed Sep 24, 2010
1 parent 759df5b commit 6d806ca
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion lib/simplepay/helpers/form_helper.rb
Expand Up @@ -8,7 +8,7 @@ def self.tag(name, options = nil, open = false)
end

def self.content_tag(name, content, options = nil)
"<#{name}#{tag_options(options)}>#{content}</#{name}>"
"<#{name}#{tag_options(options)}>#{content}</#{name}>".html_safe
end


Expand Down
2 changes: 0 additions & 2 deletions simplepay.gemspec
Expand Up @@ -6,7 +6,6 @@ Gem::Specification.new do |s|

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Nathaniel E. Bibler"]
s.cert_chain = ["/Users/nathan/.gem/gem-public_cert.pem"]
s.date = %q{2009-06-07}
s.description = %q{This gem provides a Rails interface to the Amazon Simple Pay payment service.}
s.email = ["gem@nathanielbibler.com"]
Expand All @@ -18,7 +17,6 @@ Gem::Specification.new do |s|
s.require_paths = ["lib"]
s.rubyforge_project = %q{simplepay}
s.rubygems_version = %q{1.3.2}
s.signing_key = %q{/Users/nathan/.gem/gem-private_key.pem}
s.summary = %q{This gem provides a Rails interface to the Amazon Simple Pay payment service.}
s.test_files = ["test/simplepay/helpers/test_notifier.rb", "test/simplepay/services/test_donation.rb", "test/simplepay/services/test_marketplace.rb", "test/simplepay/services/test_marketplace_policy.rb", "test/simplepay/services/test_standard.rb", "test/simplepay/services/test_subscription.rb", "test/simplepay/support/test_amount.rb", "test/simplepay/support/test_billing_frequency.rb", "test/simplepay/support/test_boolean.rb", "test/simplepay/support/test_epoch.rb", "test/simplepay/support/test_field.rb", "test/simplepay/support/test_interval.rb", "test/simplepay/support/test_subscription_period.rb", "test/simplepay/test_authentication.rb", "test/simplepay/test_service.rb", "test/test_helper.rb", "test/test_simplepay.rb"]

Expand Down

0 comments on commit 6d806ca

Please sign in to comment.