Typographic rules! Every language has them and sometimes they can get annoying to implement (french, I'm looking at you 😠).
I decided to tackle this problematic with a simple package, first to scratch my own itch but now that it's out there, give it a try!
It doesn't only add non-breaking spaces as you're free to register any custom language-specific rule.
github.com/whitecube/laravel-string-typography
Back