Trim whitespace on tag array