]> git.openstreetmap.org Git - rails.git/commitdiff
While we don't have the sanitizing backend to safely solve ticket
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Mon, 14 Sep 2009 21:08:17 +0000 (21:08 +0000)
committerÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Mon, 14 Sep 2009 21:08:17 +0000 (21:08 +0000)
#2264 I'm going to remove the auto_link feature of changeset tags. The
links are broken in all conforming Atom readers at the moment.

app/views/changeset/list.atom.builder

index 6dcdd4f1d78f80f331b12389efcefd959f46ec04..82309ee53164be7fd498af0fa6058a7993099a5f 100644 (file)
@@ -68,7 +68,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|
                 td.table :cellpadding => "0" do |table|
                   changeset.tags.sort.each do |tag|
                     table.tr do |tr|
-                      tr.td "#{h(tag[0])} = #{sanitize(auto_link(tag[1]))}"
+                      tr.td "#{h(tag[0])} = #{sanitize(tag[1])}"
                     end
                   end
                 end
                     end
                   end
                 end