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] First word is not in Upper-first casing if it's an article or conjuction #101

Open
Eazash opened this issue Jan 15, 2025 · 0 comments · May be fixed by #103
Open

[titleCase] First word is not in Upper-first casing if it's an article or conjuction #101

Eazash opened this issue Jan 15, 2025 · 0 comments · May be fixed by #103
Labels
bug Something isn't working

Comments

@Eazash
Copy link

Eazash commented Jan 15, 2025

Environment

Reproduction

titleCase('in world')
// actual: in World
// expected: In World

titleCase('and then')
// actual: and Then
// expected: And Then

Describe the bug

For any of the words that are 'title case exceptions', they are not transformed to Upper-First if they're coming first in a string

Additional context

No response

Logs

No response

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