remove extra whitespace from emty lines
skip an empty td