Page MenuHomePhabricator

Single quote parsing differs between parsoid and legacy
Closed, DeclinedPublic

Description

Surprising to find this still, but in https://pl.wikivoyage.org/wiki/Pilzno?useparsoid=0#Noclegi item 8 is:

* {{Znacznik|'''Zakwaterowanie Silenus'''|49.7333100 |13.3903428|typ=nocleg|url=|kolor=000080|treść=}}'''[https://plzen-ubytovani.cz/ Zakwaterowanie Silenus]''' (''Ubytovna Silenus'''), Zahradní 1941/25, Východní Předměstí (''przystanek Liliová: linie tramwajowe nr 1, 4 i linie autobusowe nr N2''),

If you look closely, you can see that Ubytovna Silenus has two leading single-quotes but three trailing single-quotes. Comparing legacy and parsoid, legacy renders this as:

  • Zakwaterowanie Silenus' (Ubytovna Silenus),

while Parsoid renders it as:

  • 'Zakwaterowanie Silenus (Ubytovna Silenus)

and legacy boldfaces the first and puts the unmatched quote last, while parsoid renders it as italics and puts the unmatched quote first. Oddly, the "Ubytovna Silenus" part which actually has the quote mismatch is boldfaced in both renderings, and it's the leading part which get unboldfaced by Parsoid.

Event Timeline

cscott updated the task description. (Show Details)
MSantos moved this task from Needs Triage to Bugs & Crashers on the Parsoid board.

Going to decline this -- it is unlikely we are going to go after this edge case.