Output tags to the feed as raw HTML so that links are not escaped (any
authorTom Hughes <tom@compton.nu>
Mon, 14 Sep 2009 23:17:52 +0000 (23:17 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 14 Sep 2009 23:17:52 +0000 (23:17 +0000)
real HTML in the tag has already been escaped). Closes #2264.

app/views/changeset/list.atom.builder

index 7905ac77377031f9835807758b2c61565b626fd3..d9d53593c2dd8f047c25999e2eb1e7338c5d30d7 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|
-                      tr.td "#{h(tag[0])} = #{auto_link(h(tag[1]))}"
+                      tr.td << "#{h(tag[0])} = #{auto_link(h(tag[1]))}"
                     end
                   end
                 end