X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/c3cb1de73eb8b748e7cb20b3f842295a0a117919..2ddd667910301e73a9961ffd70b72011f1dfb22a:/app/views/notes/_note.xml.builder diff --git a/app/views/notes/_note.xml.builder b/app/views/notes/_note.xml.builder index 7e4585f86..259f70405 100644 --- a/app/views/notes/_note.xml.builder +++ b/app/views/notes/_note.xml.builder @@ -21,7 +21,10 @@ xml.note("lon" => note.lon, "lat" => note.lat) do xml.user_url user_url(:display_name => comment.author.display_name) end - xml.text comment.body + if comment.body + xml.text comment.body.to_text + xml.html comment.body.to_html + end end end end