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

titleCase insert extra space when convert a valid titleCase string #96

Open
ntnyq opened this issue Nov 20, 2024 · 0 comments · May be fixed by #97
Open

titleCase insert extra space when convert a valid titleCase string #96

ntnyq opened this issue Nov 20, 2024 · 0 comments · May be fixed by #97
Labels
bug Something isn't working

Comments

@ntnyq
Copy link

ntnyq commented Nov 20, 2024

Environment

Any

Reproduction

import { titleCase } from 'scule'

console.log(titleCase('Hello World')) // -> `Hello  World`

console.log(titleCase(titleCase('Hello World'))) // -> `Hello   World`

Describe the bug

It should be left as it is.

Additional context

No response

Logs

No response

@ntnyq ntnyq added the bug Something isn't working label Nov 20, 2024
@pi0 pi0 changed the title titleCase insert unexpected space when convert a valid titleCase string titleCase insert extra space when convert a valid titleCase string Nov 20, 2024
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

Successfully merging a pull request may close this issue.

1 participant