and what if tags is a string containing a lot of spaces?