https://bugzilla.wikimedia.org/show_bug.cgi?id=54877

--- Comment #1 from Krinkle <[email protected]> ---
This is probably a bug in Parsoid, not VisualEditor.

Given a page containing:

[[[[Sandbox]]]]

Which contains no <nowiki>, this is parsed as [[<a href=Sandbox>Sandbox</a>]]
by the PHP parser and renders accordingly.

When editing that page in VisualEditor, the initial rendering is wrong (it
renders as a text node "[[[[Sandbox]]]]", no anchor link).

If I add text to that line or change the word to something else, the
serialisation from Parsoid is still the same (no <nowiki> is inserted, so
Parsoid is unaware of it being a link both in parsing and serialising).


Given a page containing:

<nowiki>[[[[Sandbox]]]]</nowiki>

When editing that in VisualEditor, the initial rendering is correct (1 text
node containing "[[[[Sandbox]]]]").

If I add text to that line or change the word to something else, the
serialisation from Parsoid is no longer the same. It dropped the <nowiki>, thus
effectively (according to the PHP parser) turning it into a link after saving.

-- 
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

Reply via email to