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

--- Comment #2 from [email protected] ---
Seems like on cut-paste, the contents of the <th> are being wrapped in a
p-wrapper.

<th scope="col"> <p>Épreuve</p></th>
<th scope="col"> <p>Performance</p></th>
<th scope="col"> <p>Lieu</p></th>

Parsoid then serializes them on newlines but also moves the leading space to
the next line which forces it to nowiki wrap it to prevent it from re-parsing
as an indent-pre.

So, there are a couple issues here:
(a) Parsoid could leave the whitespace behind on the previous line which will
eliminate the nowiki.
(b) But, fixing (a) will still serialize the content on a newline. To prevent
that, either VE should not wrap content in <p>-tags or Parsoid could enforce
normalization when serializing content in new table cells under certain
conditions.

For now, I'll investigate (a) and see what is involved.

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