X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/18883b59c88940b9bd323756e60603302f185dfd..52e5fa6ad78f375cec5a207a123a4aa3939c8ddf:/app/views/note/_note.gpx.builder?ds=sidebyside diff --git a/app/views/note/_note.gpx.builder b/app/views/note/_note.gpx.builder index 91c0cbd98..8b599eb09 100644 --- a/app/views/note/_note.gpx.builder +++ b/app/views/note/_note.gpx.builder @@ -1,6 +1,8 @@ xml.wpt("lon" => note.lon, "lat" => note.lat) do - xml.desc do - xml.cdata! note.flatten_comment("
") + with_format(:html) do + xml.desc do + xml.cdata! render(:partial => "description", :object => note, :format => :html) + end end xml.extension do