Edgewall Software
Modify

Opened 14 years ago

Closed 14 years ago

Last modified 13 years ago

#8911 closed defect (wontfix)

Timeline RSS feed title removes HTML tags

Reported by: franz@… Owned by:
Priority: normal Milestone:
Component: timeline Version: 0.11.1
Severity: normal Keywords: rss, feed, timeline
Cc: Thijs Triemstra Branch:
Release Notes:
API Changes:
Internal Changes:

Description

It seems like HTML tags are removed from the title of RSS feed entries, but not their content (where they are properly escaped). It appears to me that it would be the correct behaviour to convert them into HTML entities instead.

Attachments (0)

Change History (4)

comment:1 by anonymous, 14 years ago

I have not tested this in Trac 0.12.* yet.

comment:2 by Christian Boos, 14 years ago

Milestone: 0.11.7
Resolution: wontfix
Status: newclosed

From http://feedvalidator.org/docs/rss2.html:

Elements of <item>
A channel may contain any number of <item>s. An item may represent a "story" — much like a story in a newspaper or magazine; if so its description is a synopsis of the story, and the link points to the full story. An item may also be complete in itself, if so, the description contains the text (entity-encoded HTML is allowed), and the link and title may be omitted. All elements of an item are optional, however at least one of title or description must be present.

So it's not at all clear that an <item>'s <title> can contain entity-encoded HTML.

Closed as wontfix unless you can show us an authoritative document that clearly states it's allowed (and supported by most RSS readers!).

comment:3 by anonymous, 13 years ago

I know it's been a while, but I just wanted to state that HTML tags as part of a ticket title should obviously be displayed, not stripped. And to my knowledge, the only way to do that is HTML entities.

comment:4 by Thijs Triemstra, 13 years ago

Cc: Thijs Triemstra added

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.