Author: j.niesen
Description:
The following wikitext
<gallery>
a
</gallery>
produces this HTML (attributes omitted for clarity):
<table><td><div>A</div></td></tr> </table>This is usually cleaned up by HTML Tidy.
Note that there is no <tr> tag, but there is a </tr> tag.
The attached patch fixes this.
Additionally, I get the error message:
"Only variables should be assigned by reference in
/home/jitse/wikipedia/phase3-cvs/includes/Parser.php on line 3678
I didn't fix this as it might indicate some deeper bug.
Version: 1.6.x
Severity: minor