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

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|VisualEditor displays rest  |Parsoid and Tidy differ in
                   |of the page after garbled   |how they deal with
                   |code-span tags in code tag  |misnested tags

--- Comment #1 from [email protected] ---
(In reply to spage from comment #0)

> Note its incorrect second opening <code> instead of closing the code, and a
> second closing </span>. Yet regular wiki parsing can handle it.

This is Tidy doing the cleanup. PHP parser does not do the fixup automatically.
This is a known issue -- we have a bunch of these scenarios now where Parsoid
and Tidy fixup broken code differently. We'll never match Tidy behavior (which
is not always the desired behavior in any case). But, as for this specific
scenario, fixing this will require us to use heuristics in the tokenizer and
more complexity. At this time, it is not clear if the additional complexity is
worth it, except for easy to auto-fix scenarios.

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