Trim leading/trailing whitespace from event slugs