Page MenuHomePhabricator

Feed item title contains doubly-escaped ampersand, displaying  
Closed, ResolvedPublic

Description

History feed item is built using the “colon-separator” interface message which separates the author of the revision from the comment.

However, since the colon-separator contains “: ” currently, and the feed is XML-escaped afterwards, the resulting feed items display “ ” (see the URL for an example).

See includes/PageHistory.php, line 539.

A quick fix might consist of changing FeedItem::stripComment to replace HTML entities with the respective characters.

(OBTW, it seems we are a bit inconsistent with formatting/escaping comments, anyway, even on wiki…)


Version: unspecified
Severity: trivial
URL: http://en.wikipedia.org/w/index.php?title=Foo&feed=rss&action=history

Details

Reference
bz17521

Event Timeline

• bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:31 PM
• bzimport set Reference to bz17521.
• bzimport added a subscriber: Unknown Object (MLST).