#8911 closed defect (wontfix)
Timeline RSS feed title removes HTML tags
Reported by: | 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 , 15 years ago
comment:2 by , 15 years ago
Milestone: | 0.11.7 |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
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 , 14 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 , 14 years ago
Cc: | added |
---|
I have not tested this in Trac 0.12.* yet.