Page MenuHomePhabricator

[BUG] Table of Contents should not show ampersands as html code
Closed, ResolvedPublicBUG REPORT

Description

Reported via OTRS:
https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom;TicketID=10828800

Steps to Reproduce:

  1. Open an article with section headings that contain special characters, for example Lori Foster
  2. Swipe left to open the ToC
Actual Results:

Ampersands in section headings are shown as &

image.png (1×1 px, 216 KB)

Expected Results:

Ampersands and any symbols should be shown correctly and not as html markup

Occurring in

Wikipedia v2.7.239-alpha-2018-09-24

Event Timeline

Change 463135 had a related patch set uploaded (by Dbrant; owner: Dbrant):
[apps/android/wikipedia@master] Correctly process ampersand entity (&) when decoding html strings.

https://gerrit.wikimedia.org/r/463135

Regarding "other symbols," are there examples of other unprocessed HTML entities that you have observed?

RHo renamed this task from [BUG] Table of Contents should not show ampersands and other symbols as html codes to [BUG] Table of Contents should not show ampersands as html code.Sep 26 2018, 7:52 PM

Regarding "other symbols," are there examples of other unprocessed HTML entities that you have observed?

No actually. Just updated the task to refer only to ampersands.

Change 463135 merged by jenkins-bot:
[apps/android/wikipedia@master] Correctly process ampersand entity (&) when decoding html strings.

https://gerrit.wikimedia.org/r/463135

Dbrant claimed this task.