TopShelfCraft / Wordsmith

A plugin for Craft CMS to help you manage and manipulate text.
Other
30 stars 20 forks source link

Words with non ascii characters incorrectly handled by apTitleize filter #14

Closed piotrpog closed 1 year ago

piotrpog commented 5 years ago

In my case, word Przykładowa was changed to PrzykłAdowa - first letter after non ascii character was capitalized.

michaelrog commented 1 year ago

I still want to enact a real fix for this issue, but in the meantime (as of 4.1.0), you can configure protectedTitleWords as a stopgap to handle known exceptions like this.

michaelrog commented 1 year ago

Actually, I worked out a solutions to this, and also improved title handling for several other corner cases, too. No hacks/stopgaps necessary. 🎉