checks if custom tag is just whitespace