Expected behavior 😸
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
Expected behavior 😸
When title casing an abbreviation, Voca capitalizes some words it shouldn't, like
toora. 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