Safely use content slugs as CSS classes