X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9477d7a65e03b895a8d30a4586449e76c1ea4758..3da2a95cea6b5efa760b378b45d9223d4b76657d:/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 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