X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7c98b41cc89068d049a18f8738276f19cd47095e..3ecf431f7e5346dbfdca192684e59de9f8e3335a:/app/views/note/_note.rss.builder?ds=sidebyside 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