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

--- Comment #5 from TMg <mr.h...@gmx.de> ---
I'm sorry but it seems we are not talking about the same. When I enter this:

<ref name="t">
{|
|t
|}</ref>
<references />

in a local MediaWiki with Tidy disabled I get this:

<ol class="references">
<li id="cite_note-t-1"><span class="mw-cite-backlink"><a
href="#cite_ref-t_1-0">↑</a></span> <span class="reference-text">
<table>
<tr>
<td>t
</td></tr></table></span>
</li>
</ol>

This HTML is wrongly nested. Because of this Tidy tries to fix it. It becomes:

<ol class="references">
<li id="cite_note-t-1"><span class="mw-cite-backlink"><a
href="#cite_ref-t_1-0">↑</a></span>
<table>
<tr>
<td>t</td>
</tr>
</table>
</li>
</ol>

As you can see the class="reference-text" is simply deleted. This is not good.
The class should be there no matter what is inside of the reference.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to