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

Improper title casing of "TELL", "AND", and "TO" #7

Open
bryancasler opened this issue Aug 26, 2024 · 0 comments
Open

Improper title casing of "TELL", "AND", and "TO" #7

bryancasler opened this issue Aug 26, 2024 · 0 comments

Comments

@bryancasler
Copy link

Describe the bug
This headline "TELL U.S. AND CANADIAN GOVERNMENT OFFICIALS TO PROTECT NORTH ATLANTIC RIGHT WHALES" will output as "TELL U.S. AND Canadian Government Officials TO Protect North Atlantic Right Whales" across all five style options.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'https://danielhaim1.github.io/TitleCaser/'
  2. Enter the text 'TELL U.S. AND CANADIAN GOVERNMENT OFFICIALS TO PROTECT NORTH ATLANTIC RIGHT WHALES'
  3. Click 'Convert'
  4. See improper titlecasing across all five styles

Expected behavior

  • APA: Tell U.S. and Canadian Government Officials to Protect North Atlantic Right Whales
  • AP: Tell U.S. and Canadian Government Officials To Protect North Atlantic Right Whales
  • Chicago: Tell U.S. and Canadian Government Officials to Protect North Atlantic Right Whales
  • NYT: Tell U.S. and Canadian Government Officials to Protect North Atlantic Right Whales
  • Wikipedia: Tell U.S. and Canadian Government Officials to Protect North Atlantic Right Whales

Screenshot
CleanShot 2024-08-26 at 15 34 29@2x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@bryancasler and others