X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e3b8b8933044104bb515d34c3d36851caba78ac7..d5295fb485b136a01da5b538d1e4f096ad0fd4d4:/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