app/models/service_response.rb in umlaut-3.0.0beta3 vs app/models/service_response.rb in umlaut-3.0.0beta4

- old
+ new

@@ -68,10 +68,16 @@ [:asin] == Abstracts/Tocs: Can be a link to, or actual content. Either way, should be set up to link to source of content if possible. Basic set, plus: - [:content] actual content, if available. + [:content] actual content, if available. + [:content_html_safe] Set to true if content includes html which should be + passed through un-escaped. Service is responsible + for making sure the HTML is safe from injection + attacks (injection attacks from vendor API's? Why not?). + ActionView::Helpers::SanitizeHelper's #sanitize + method can convenient. =end class ServiceResponse < ActiveRecord::Base @@built_in_fields = [:display_text, :url, :notes, :response_key, :value_string, :value_alt_string, :value_text] belongs_to :request