From: Ævar Arnfjörð Bjarmason Date: Fri, 7 Aug 2009 12:17:02 +0000 (+0000) Subject: Add type="html" to so a <title> with "<" will be displayed X-Git-Tag: live~6767 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/fc9768f34c803f9a9746d1705af097655d55f3e2?hp=66eafbf09e8489590ea671b5d7bcbf15abf40a74 Add type="html" to <title> so a <title> with "<" will be displayed as "<" and not literally as "<". See section 3.1.1 in RFC 4287 --- 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