]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/changesets/index.atom.builder
Merge remote-tracking branch 'upstream/pull/4529'
[rails.git] / app / views / changesets / index.atom.builder
index 1363b8c023fb7c96851e6ddd5747c2a5fd635c8e..b37fee36755848a613da8f2295ae2134a039e530 100644 (file)
@@ -1,6 +1,7 @@
 atom_feed(:language => I18n.locale, :schema_date => 2009,
           :id => url_for(@params.merge(:only_path => false)),
           :root_url => url_for(@params.merge(:action => :index, :format => nil, :only_path => false)),
+          "xmlns:xhtml" => "http://www.w3.org/1999/xhtml",
           "xmlns:georss" => "http://www.georss.org/georss") do |feed|
   feed.title changeset_index_title(params, current_user)
 
@@ -24,7 +25,7 @@ atom_feed(:language => I18n.locale, :schema_date => 2009,
                  :type => "application/osmChange+xml"
 
       if !changeset.tags.empty? && changeset.tags.key?("comment")
-        entry.title t("browse.changeset.feed.title_comment", :id => changeset.id, :comment => changeset.tags["comment"]), :type => "html"
+        entry.title t("browse.changeset.feed.title_comment", :id => changeset.id, :comment => changeset.tags["comment"])
       else
         entry.title t("browse.changeset.feed.title", :id => changeset.id)
       end