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