Fix markup for tables