https://bugzilla.wikimedia.org/show_bug.cgi?id=32049
Web browser: ---
Bug #: 32049
Summary: tablesorter: nested table in table header
Product: MediaWiki
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Javascript
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
The tr with a th element from a nested table in a th element of a sortable
table gets moved to the outer table:
{| class="wikitable sortable"
|-
! THEAD1
|-
!
{|
|-
! THEAD2
|}
|-
| TBODY
|}
is converted to
<table class="wikitable sortable jquery-tablesorter">
<thead>
<tr>
<th class="headerSort" title="Aufsteigend sortieren">THEAD1</th>
</tr>
<tr>
<th>
<table>
<tbody>
</tbody>
</table>
</th>
</tr>
<tr>
<th>THEAD2</th>
</tr>
</thead>
<tbody>
<tr>
<td>TBODY</td>
</tr>
</tbody>
<tfoot></tfoot>
</table>
expeced result:
<table class="wikitable sortable jquery-tablesorter">
<thead>
<tr>
<th class="headerSort" title="Aufsteigend sortieren">THEAD1</th>
</tr>
<tr>
<th>
<table>
<tbody>
<tr>
<th>THEAD2</th>
</tr>
</tbody>
</table>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>TBODY</td>
</tr>
</tbody>
</table>
--
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