Page MenuHomePhabricator

user talk page displays parts of raw HTML if user has {{DISPLAYTITLE:}} with <span>. sometimes.
Closed, ResolvedPublicBUG REPORT

Description

  1. open Android app
  2. search for User talk:7&6=thirteen
  3. pick first result
  4. title appears with part of first <span> (but none of the second <span>)

title saved currently is {{DISPLAYTITLE:<span style="text-shadow:0px 0px 9px silver;"><span style="color: #060"><span style="display:none;">User talk:</span>7&6=thirteen</span></span>}} https://en.wikipedia.org/wiki/?oldid=1244870954

Screenshot_20240909-154226.png (864×1 px, 198 KB)

Screenshot_20240909-152453.png (1×864 px, 289 KB)

I was guessing there's some code splitting on first appearance of a colon in page title?

If I go from the broken talk page view to edit history via hamburger or from history on to a diff those pages are both fine. If I visit the talk page other ways like search first for user page and then go from there to talk via hamburger then display is fine. also if I open talk page in Firefox focus then "open in app" then the display is fine. got here via T353611: Diff link giving wrong diff when page title has symbols (&, =)

App version: version 2.7.50500-beta-2024-09-09 (most screenshots were an earlier version. updated and tested everything again, no change)
Android OS versions: 14
Device model:
Device language: en

Screenshot_20240909-152445.png (1×864 px, 216 KB)

Screenshot_20240909-152427.png (1×864 px, 178 KB)

Screenshot_20240909-153350.png (1×864 px, 288 KB)

Event Timeline