From fc9768f34c803f9a9746d1705af097655d55f3e2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Fri, 7 Aug 2009 12:17:02 +0000 Subject: [PATCH] Add type="html" to so a <title> with "<" will be displayed as "<" and not literally as "<". See section 3.1.1 in RFC 4287 --- app/views/changeset/list.atom.builder | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/changeset/list.atom.builder b/app/views/changeset/list.atom.builder index 1fbfe8c56..6dcdd4f1d 100644 --- a/app/views/changeset/list.atom.builder +++ b/app/views/changeset/list.atom.builder @@ -30,7 +30,7 @@ atom_feed(:language => I18n.locale, :schema_date => 2009, :type => "application/osmChange+xml" if !changeset.tags.empty? and changeset.tags.has_key? "comment" - entry.title t('browse.changeset.feed.title_comment', :id => h(changeset.id), :comment => h(changeset.tags['comment'])) + entry.title t('browse.changeset.feed.title_comment', :id => h(changeset.id), :comment => h(changeset.tags['comment'])), :type => "html" else entry.title t('browse.changeset.feed.title', :id => h(changeset.id)) end -- 2.39.5