X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2bceba38bad5dfcf70023da99d17a5953183cd84..82eedbf6511faf136293fce5ffc394ee0bf3511a:/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