figuring out how to sanitise tags.