You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When title casing an abbreviation, Voca capitalizes some words it shouldn't, like to or a. I realize this can get pretty complicated or can vary between styles, but it seems to me that it still be helpful to have a function that followed the general rules.
voca.titleCase("bruce willis is a badass") // => "Bruce Willis is a Badass"
Actual behavior 😿
Voca capitalizes those words.
voca.titleCase("bruce willis is a badass") // => 'Bruce Willis Is A Badass'
Steps to reproduce 👷
Call the functions as described above.
Technical details: 🔧
Browser/OS type: macOS 10.15.3
Node version: 13
The text was updated successfully, but these errors were encountered:
Expected behavior 😸
When title casing an abbreviation, Voca capitalizes some words it shouldn't, like
to
ora
. I realize this can get pretty complicated or can vary between styles, but it seems to me that it still be helpful to have a function that followed the general rules.Actual behavior 😿
Voca capitalizes those words.
Steps to reproduce 👷
Call the functions as described above.
Technical details: 🔧
Browser/OS type: macOS 10.15.3
Node version: 13
The text was updated successfully, but these errors were encountered: