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
This commit is contained in:
parent
66eafbf09e
commit
fc9768f34c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue