https://bugzilla.wikimedia.org/show_bug.cgi?id=25792
Summary: Unclosed elements in <table> cause wrong escaping
Product: MediaWiki
Version: 1.15.4
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: Normal
Component: Page rendering
AssignedTo: [email protected]
ReportedBy: [email protected]
All cases are tested without Tidy enabled.
Wikitext 1 -- Looks good.
<div style="margin-left: 40%;">
<h1>Welcome!</h1>
<table style="border: 0; width: 100%;"><tr>
<td><ul><li>[[XX]]<li>[[XX]]<li>[[XX]]</ul></td>
<td><ul><li>[[XX]]<li>[[XX]]<li>[[XX]]</ul></td>
<td><ul><li>[[XX]]<li>[[XX]]<li>[[XX]]</ul></td>
<td><ul><li>[[XX]]<li>[[XX]]<li>[[XX]]</ul></td>
</tr></table>
</div>
Wikitext 2 -- </div> will be escaped and <div> will be unclosed.
<div style="margin-left: 40%;">
<h1>Welcome!</h1>
<table style="border: 0; width: 100%;"><tr>
<td><ul><li>[[XX]]<li>[[XX]]<li>[[XX]]</ul>
<td><ul><li>[[XX]]<li>[[XX]]<li>[[XX]]</ul>
<td><ul><li>[[XX]]<li>[[XX]]<li>[[XX]]</ul>
<td><ul><li>[[XX]]<li>[[XX]]<li>[[XX]]</ul>
</table>
</div>
</tr> and </td> are not compulsory here, in HTML (not XHTML).
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l