https://bugzilla.wikimedia.org/show_bug.cgi?id=60177
Web browser: ---
Bug ID: 60177
Summary: Nested wiki link edge case [[foo|[[foo]]]] not handled
correctly
Product: Parsoid
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
Test case:
echo '[[foo|[[foo]]]]' | node parse --wt2wt
[[foo|<nowiki/>]][[foo]]
The PHP parser only recognizes the inner link and displays the outer link as
plain text. We parse both links, which results in the outer link being broken
up in the DOM. We seem to detect this ("misnested":true in data-parsoid), but
don't use this info to convert the outer link to text.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l