split tags with whitespace