Skip to content

Conversation

@LucianBuzzo
Copy link
Contributor

Summary

  • sanitize every hyphen when building slugs
  • expose sanitizeSlug for testing
  • test sanitization with multiple hyphens

Testing

  • npm run lint
  • npx jest test/unit/sanitizeSlug.spec.ts

https://chatgpt.com/codex/tasks/task_e_684feda1f074832aa6ae64e90b86286d

@LucianBuzzo LucianBuzzo force-pushed the codex/fix-sanitizeslug-to-replace-all-hyphens branch from 8bb0ba5 to 627f8b9 Compare June 16, 2025 11:54
@LucianBuzzo LucianBuzzo force-pushed the codex/fix-sanitizeslug-to-replace-all-hyphens branch from 627f8b9 to b05ab55 Compare June 16, 2025 12:37
@sonarqubecloud
Copy link

@github-actions
Copy link
Contributor

Published beta package version: 3.6.2-beta.dangerous.171809c

@LucianBuzzo LucianBuzzo merged commit 5db8eb6 into master Jun 16, 2025
8 checks passed
@LucianBuzzo LucianBuzzo deleted the codex/fix-sanitizeslug-to-replace-all-hyphens branch June 16, 2025 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants