Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Slugify does not work for single character s and t #593

Closed
Joniator opened this issue Aug 28, 2023 · 2 comments
Closed

[BUG] Slugify does not work for single character s and t #593

Joniator opened this issue Aug 28, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@Joniator
Copy link

Which tool is impacted?
Slugify

To Reproduce
Steps to reproduce the behavior:

  1. Enter Test t
  2. Expect test-t, get testt
  3. Add an e, so you input Test te
  4. Get the expected test-te

Putting the broken characters with single space between each seperates them as pairs:
Input: s s s s s s s
Output: ss-ss-ss-s

Most characters work, only s and t behave like this.

Configuration (please complete the following information):

  • Device: Laptop
  • OS: Windows 11
  • Browser: Edge
  • Version: 116.0.1938.62 (Official build) (64-bit)
@Joniator Joniator added the bug Something isn't working label Aug 28, 2023
@Joniator Joniator changed the title [BUG] Sligify does not work for single character s and t [BUG] Slugify does not work for single character s and t Aug 28, 2023
@im-sellar
Copy link

Hey everyone !
Updating @sindresorhus/slugify from version 2.2.0 to 2.2.1 fixes the issue.
Here is the PR : #673

@sharevb
Copy link
Contributor

sharevb commented Jun 9, 2024

Hi @CorentinTh and @Joniator, sounds fixed right now, could be closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants