strip extra whitespace of example html