-
Notifications
You must be signed in to change notification settings - Fork 252
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
Wrong slug generated #200
Comments
Can you post the code you are using? |
I'm with same problem in portuguese. Input is: Um mês de conteúdo Whenever you replace a character, you add (in addition to the replaced character) a separator. |
@saurabh2k26 To be honest, it’s good idea to replace any character different than If we would like to go another way, additional options would be needed to implement:
Optionally we can just clear all the special characters. In this way 2nd new option won’t be necessary, because empty string will be used as separator. @florianeckerstorfer Any thoughts? |
@tenq Have you tried to use $slugify->slugify('Um mês de conteúdo', ['ruleset' => 'portuguese-brazil']);
// or
$slugify->slugify('Um mês de conteúdo', ['ruleset' => 'french']); |
Input is: Saurabh's Blog
Expected output: saurabhs-blog
Actual output: saurabh-s-blog
The text was updated successfully, but these errors were encountered: