Show quoted text> I noticed that some TR tags that had VALIGN="top" attributes were not
> being preserved by the MediaWiki table conversion. I checked the
> w3.org docs to see that both ALIGN and VALIGN are listed as
> official attributes, so I just added them to the list of attributes
> in the _tr_start() subroutine in the MediaWiki.pm file and it fixed
> the problem.
Thanks for catching that. I had originally just included the whitelisted
HTML *elements* from MediaWiki's Sanitizer.php module [1], but for some
reason overlooked the whitelisted attributes.
I've checked in a patch for 0.23 so HTML::WikiConverter::MediaWiki
includes both HTML elements and attributes from the Sanitizer.php
whitelists.
Show quoted text> (Note that I would have filed this bug against 0.22 if it had been an
> option in the bug-report form as this bug appears to still be
> present in 0.22.)
Indeed. It appears rt.cpan.org lags behind the rest of CPAN for at least
a couple days and doesn't yet know about the 0.22 release.
-- David Iberri
[1]
http://cvs.sourceforge.net/viewcvs.py/wikipedia/phase3/includes/Sanitizer.php?rev=1.8&view=auto