User blog comment:Ohmyn0/Making your wiki HTML5 compliant/@comment-34115-20120712042029/@comment-13301-20120712095922

Ahá! So YOU are the responsible of replacing table align="[a-z]+" with table style="text-align:$1"? Someone should've tell MW developers that table align is not the same as text-align, and using margins instead of text-align (and not float, since right aligning a table does not always mean we want to float it). That would solve most of the problems of this upgrade, while still allowing to output valid HTML code.