handle rowspan, thead, caption in tables
hyphen/en-dash correction was wrong in 54c5dddbc525c7d1c29821a56f4160ebd340da74