html transform tweak to accommodate differently formed tables