Escape the spaces in tags and categories.