Page MenuHomePhabricator

Hover cards shows entities in final result instead of ' or " characters.
Closed, DuplicatePublic


Take any link to something with a ' in it, for instance: "Coup d'état" in the page

The API provided extract for that will be: "The 1948 Czechoslovak coup d'état (often simpl....."
The first thing that the renderer does is to html escape this. Resulting in: "1948 Czechoslovak coup d'état"

This is processed by: article.getProcessedElements(), which returns an array of strings and elements. However all these parts of the extract are handled as text content, so the entities become literal representations of the encoded entities.

Event Timeline

TheDJ created this task.Mar 26 2015, 12:43 PM
TheDJ raised the priority of this task from to Needs Triage.
TheDJ updated the task description. (Show Details)
TheDJ added a project: Page-Previews.
TheDJ added a subscriber: TheDJ.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMar 26 2015, 12:43 PM
Quiddity moved this task from Backlog to Done on the Page-Previews board.Apr 14 2015, 8:28 PM