I think I found a bug in title-case: When a string has a quoted word with a period in it, that word isn't capitalized.
For example:
titleCase("Is human activity responsible for the climate emergency? New report calls it ‘unequivocal.’")
// Is Human Activity Responsible for the Climate Emergency? New Report Calls It ‘unequivocal.’
I would expect unequivocal to be capitalized, but it is not.
I think I found a bug in
title-case
: When a string has a quoted word with a period in it, that word isn't capitalized.For example:
I would expect
unequivocal
to be capitalized, but it is not.