remove whitespace from a tag