]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/diary_entry/rss.rss.builder
Don't display Markdown help when editing an old diary entry
[rails.git] / app / views / diary_entry / rss.rss.builder
index 4c9670a6d5f118230a536fe24961723cf769fb88..7ee36e9bdb20e93d8cc093e0bd7984b335d88d74 100644 (file)
@@ -20,7 +20,7 @@ xml.rss("version" => "2.0",
         xml.title h(entry.title)
         xml.link url_for(:action => "view", :id => entry.id, :display_name => entry.user.display_name, :only_path => false)
         xml.guid url_for(:action => "view", :id => entry.id, :display_name => entry.user.display_name, :only_path => false)
         xml.title h(entry.title)
         xml.link url_for(:action => "view", :id => entry.id, :display_name => entry.user.display_name, :only_path => false)
         xml.guid url_for(:action => "view", :id => entry.id, :display_name => entry.user.display_name, :only_path => false)
-        xml.description htmlize(entry.body)
+        xml.description entry.body.to_html
         xml.author entry.user.display_name
         xml.pubDate entry.created_at.to_s(:rfc822)
         xml.comments url_for(:action => "view", :id => entry.id, :display_name => entry.user.display_name, :anchor => "comments", :only_path => false)
         xml.author entry.user.display_name
         xml.pubDate entry.created_at.to_s(:rfc822)
         xml.comments url_for(:action => "view", :id => entry.id, :display_name => entry.user.display_name, :anchor => "comments", :only_path => false)