Page MenuHomePhabricator

Links like "[[:/y/]]" and "[[/y̫/]]" displayed incorrectly in preview
Open, MediumPublicBUG REPORT

Assigned To
None
Authored By
ToBeFree
Oct 1 2019, 4:26 AM
Referenced Files
F30517084: actual-result.png
Oct 1 2019, 4:33 AM
F30517087: preview-correct.png
Oct 1 2019, 4:33 AM
F30517089: preview-incorrect.png
Oct 1 2019, 4:33 AM
F30517081: source.png
Oct 1 2019, 4:33 AM
F30517048: actual-result.png
Oct 1 2019, 4:26 AM
F30517047: preview-incorrect.png
Oct 1 2019, 4:26 AM
F30517046: preview-correct.png
Oct 1 2019, 4:26 AM
F30517049: source.png
Oct 1 2019, 4:26 AM

Description

https://en.wikipedia.org/w/index.php?title=User:ToBeFree/sandbox&oldid=968133171

Source code:

source.png (186×191 px, 4 KB)

Actual output:

actual-result.png (28×244 px, 1 KB)

Correct preview in the normal source editor:

preview-correct.png (29×243 px, 1 KB)

Incorrect preview in VisualEdit's new source editor:

preview-incorrect.png (34×221 px, 1 KB)

Event Timeline

ToBeFree renamed this task from Links like "[[:/y/]]" displayed incorrectly in preview to Links like "[[:/y/]]" and "[[/y̫/]]" displayed incorrectly in preview.Oct 1 2019, 4:33 AM
ToBeFree updated the task description. (Show Details)
ToBeFree updated the task description. (Show Details)

Parsoid HTML has the same issue: https://en.wikipedia.org/api/rest_v1/page/html/User%3AToBeFree%2Fsandbox/918972167

So the specific examples that are parsed wrong are these two:

[[:/y̫/]]
[[/y̫/]]
LGoto triaged this task as Medium priority.May 1 2020, 4:26 PM