@bricebou:
in the blueprints.yaml, I’ve just copied what was produced by the PHP-Typography library… I should use a html value instead ?
Copying is fine, but I think you copied too much. Even editor shows these weird symbols

@bricebou:
There is no way to disable FR specific typography when the page is in french… It’s because I assume you should enable these improvements when dealing with french language, as theye are basics. But if needed, I can add a configuration toggle to enable/disable french language improvements.
IMO users should have a choice to enable or disable it. You can leave it on by default
@bricebou:
Can you point me to what I must deal with ?
Where to start.. 😅
It's not just indentation, but small things 🙂 Eg. redundant comments:
// DASH STYLE
if ($config['smart_dashes'] === true) {
IMHO there's absolutely no need for all of these, when right on the next line you can clearly see what's happening.
Then the same if statements - what happens if for whatever reason user deletes some config options (eg. smart_dashes)? PHP will yield some errors :) I would change them to
if (!empty($config['smart_dashes'])) {
}
Then code style - I'd suggest to go through PSR-12 and you'll get at least an idea ;) Of course it's your plugin and you decide how it should look, but I think, if you'd like someone else to contribute, it's much better to have a nice for everyone code to work with. I'm sure I'm guilty myself of not always writing a beautiful code, but I try 😅