title: XML RuntimeError: Illegal character '&' in raw string?
body: <p>I have a request that looks like this;</p>
  
  <pre><code>uri = URI.parse(url)
  http = Net::HTTP.new(uri.host, uri.port)
  request = Net::HTTP::Post.new(uri.request_uri)
  request.body = purchase_xml
  http.use_ssl = true
  http.verify_mode = OpenSSL::SSL::VERIFY_NONE
  response = http.request(request)
  result = Hash.from_xml(response.body)
  </code></pre>
  
  <p>However  <code>result = Hash.from_xml(response.body)</code> gives me this error:</p>
  
  <pre><code>#&lt;RuntimeError: Illegal character '&amp;' in raw string "ybs_autocreate_status=ERROR&amp;ybs_auto
  </code></pre>