Page MenuHomePhabricator

In Hovercards, HTML is sometimes showing, e.g. apostrophes are shown as '
Closed, ResolvedPublic


In Hovercards, apostrophes are shown as ' and quotation marks as "
Test with [["Heroes"]] at
or with [[Hubble's law]] at

However! It's not consistent...
The cards linked from everything here, work properly:
I haven't deduced a pattern...? (but also sleepy)


Related Gerrit Patches:

Event Timeline

Quiddity created this task.Mar 24 2015, 6:48 AM
Quiddity assigned this task to Prtksxna.
Quiddity raised the priority of this task from to High.
Quiddity updated the task description. (Show Details)
Quiddity added a project: Page-Previews.
Quiddity added a subscriber: Quiddity.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMar 24 2015, 6:48 AM

This is happening on the Astronomy page and not on the Don't page because in the Astronomy page the article titles can be bolded in the excerpt. It happening because in article.getProcessedElements we mw.html.escape( title ).

Change 199840 had a related patch set uploaded (by Prtksxna):
renderer.article: Use .html() instead of .text() in getProcessesElements

MC8 added a subscriber: MC8.Mar 26 2015, 12:52 PM

Change 199840 merged by jenkins-bot:
renderer.article.getProcessedElements: Stop escaping the title and the extract

TheDJ closed this task as Resolved.Mar 29 2015, 5:00 PM
TheDJ moved this task from Backlog to Done on the Page-Previews board.
TheDJ removed a project: Patch-For-Review.
TheDJ set Security to None.