X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5efe07f164ae62bd758a24c571b8b2f6089ed696..dca0be1886d9b9fcd2cab1b7c82ac4132fbf722b:/app/views/notes/_note.xml.builder?ds=sidebyside diff --git a/app/views/notes/_note.xml.builder b/app/views/notes/_note.xml.builder index 2b978e325..ee9570205 100644 --- a/app/views/notes/_note.xml.builder +++ b/app/views/notes/_note.xml.builder @@ -27,6 +27,8 @@ xml.note("lon" => note.lon, "lat" => note.lat) do xml.user_url user_url(:display_name => comment.author.display_name, :host => SERVER_URL) end + xml.action comment.event + if comment.body xml.text comment.body.to_text xml.html comment.body.to_html