Last modified: 2006-04-27 21:20:11 UTC
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.
Created attachment 1392 [details] bug fix
Fixed in trunk@13890 , REL1_6@13891 . Will be in 1.6.4 . Thanks for the patch!