X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/18883b59c88940b9bd323756e60603302f185dfd..3ecf431f7e5346dbfdca192684e59de9f8e3335a:/app/views/note/_note.rss.builder
diff --git a/app/views/note/_note.rss.builder b/app/views/note/_note.rss.builder
index 856b4cc62..49f0a5171 100644
--- a/app/views/note/_note.rss.builder
+++ b/app/views/note/_note.rss.builder
@@ -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("
"))
+ 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