lib/exlibris/primo/web_service/response/base.rb in exlibris-primo-1.1.3 vs lib/exlibris/primo/web_service/response/base.rb in exlibris-primo-1.1.4
- old
+ new
@@ -17,16 +17,13 @@
super
@savon_response = savon_response
@code = savon_response.http.code
@body = savon_response.http.body
@soap_action = soap_action
- # Primo's XML is unescaped trash that Nokogiri chokes on.
- # Force & to & and avoid double escaping
- # This is a complete HACK.
- @raw_xml = savon_response.body[response_key][return_key].
- gsub('&', '&').gsub('&', '&')
+
+ @raw_xml = savon_response.body[response_key][return_key]
end
end
end
end
end
-end
\ No newline at end of file
+end