]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/note/_note.rss.builder
Move notes resources to assets directory
[rails.git] / app / views / note / _note.rss.builder
index 856b4cc62183939f44115584e0813922c9eed2e6..49f0a5171a66a48d6fa5dc04f92aacf122f99f80 100644 (file)
@@ -9,7 +9,9 @@ xml.item do
 
   xml.link url_for(:controller => "browse", :action => "note", :id => note.id, :only_path => false)
   xml.guid url_for(:controller => "note", :action => "read", :id => note.id, :only_path => false)
-  xml.description  htmlize(note.flatten_comment("<br><br>"))
+  with_format(:html) do
+    xml.description render(:partial => "description", :object => note)
+  end
   xml.author note.author_name
   xml.pubDate note.updated_at.to_s(:rfc822)
   xml.geo :lat, note.lat