]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/changeset/list.atom.builder
Preserve schemes in security policy
[rails.git] / app / views / changeset / list.atom.builder
index ace586ae54cd25d64e987b1164d03fa7a3defcb5..86dd966ccc8aba18fcb3b35ed3a7d5ae14e432db 100644 (file)
@@ -9,7 +9,7 @@ atom_feed(:language => I18n.locale, :schema_date => 2009,
   feed.logo image_url("mag_map-rss2.0.png")
 
   feed.rights :type => "xhtml" do |xhtml|
-    xhtml.a :href => "http://creativecommons.org/licenses/by-sa/2.0/" do |a|
+    xhtml.a :href => "https://creativecommons.org/licenses/by-sa/2.0/" do |a|
       a.img :src => image_url("cc_button.png"), :alt => "CC by-sa 2.0"
     end
   end
@@ -62,7 +62,7 @@ atom_feed(:language => I18n.locale, :schema_date => 2009,
                 td.table :cellpadding => "0" do |table|
                   changeset.tags.sort.each do |tag|
                     table.tr do |tr|
-                      tr.td << "#{h(tag[0])} = #{auto_link(h(tag[1]))}"
+                      tr.td << "#{h(tag[0])} = #{linkify(h(tag[1]))}"
                     end
                   end
                 end