From: Tom Hughes Date: Sat, 28 Feb 2015 15:53:32 +0000 (+0000) Subject: Make sure we give iD uncompressed XML for a trace X-Git-Tag: live~4228 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/d6bbcae9dbd51414fd5b0d22129df9bd81650e62 Make sure we give iD uncompressed XML for a trace See #745 --- diff --git a/app/views/site/_id.html.erb b/app/views/site/_id.html.erb index 7ddee6218..a6f42e43c 100644 --- a/app/views/site/_id.html.erb +++ b/app/views/site/_id.html.erb @@ -31,7 +31,7 @@ } <% if params[:gpx] -%> - params.gpx = '<%= trace_data_url(params[:gpx]) %>'; + params.gpx = '<%= trace_data_url(params[:gpx], :format => :xml) %>'; <% else -%> if (hashParams.gpx) { params.gpx = hashParams.gpx;