https://bugzilla.wikimedia.org/show_bug.cgi?id=53464
Web browser: ---
Bug ID: 53464
Summary: Parsoid strips changes </tr> to </tr in HTML tables
with </tr> but no <tr>
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]
Classification: Unclassified
Mobile Platform: ---
When the wikitext contains an HTML table that includes </tr> tags but no
corresponding <tr> tags, the table renders fine in viewing mode and in VE.
e.g.
<table>
<tr>
<th>H1</th>
<th>H2</th>
<th>H3</th>
</tr>
<td>[[Fish]]</td>
<td>[[Cake]]</td>
<td>[[Scone]]</td>
</tr>
<td>[[Goldfish]]</td>
<td>[[Golden syrup]]</td>
<td>[[Cream]]</td>
</tr>
</table>
Renders as intended.
However, when any edit to the table is made, Parsoid (presumably) strips the <
from all the </tr> tags.
Sandbox:
https://en.wikipedia.org/w/index.php?title=User:Thryduulf/sandbox&diff=570513680&oldid=570513611
Reported dif:
https://en.wikipedia.org/w/index.php?title=2005%E2%80%9306_Polish_Basketball_League&diff=570501618&oldid=569248952
This isn't something that Parsoid can expect to encounter frequently, but it
shouldn't make a mess of it when it does.
--
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