]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/notes/_note.xml.builder
Update iD, set locale
[rails.git] / app / views / notes / _note.xml.builder
index 7e4585f86fbacaf37498337ab48a7d2c2d5dac9f..259f70405790cfac915f6f8c25b7edd4480e9dbb 100644 (file)
@@ -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.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
       end
     end
   end