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

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|Unprioritized               |Normal
          Component|General                     |DOM
            Summary|Uncontained <li>            |DOMFragment unpacking
                   |                            |doesn't generate
                   |                            |well-formed DOMs always.

--- Comment #1 from [email protected] ---
This seems to be happening because the dom-fragment for the caption is
<li>..</li><li>..</li> and when the dom-fragment is unwrapped and inserted into
the parent DOM, the the <li>s aren't fixed up. This is a problem with our
dom-fragment unpacker which uses some heuristics to make sure the parent dom is
well-formed.

Reproducible with:

echo "[[Image:Foobar.jpg|right|this is a caption {{echo|<li>foo</li>}}]]" |
node parse

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