nystudio107 / craft-typogrify

Typogrify prettifies your web typography by preventing ugly quotes and 'widows' and more

Home Page:https://nystudio107.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

set_smart_diacritics is adding useless accented characters

romainpoirier opened this issue · comments

Describe the bug

set_smart_diacritics is adding accented characters where this makes absolutely no sense, making this option useless.
né doesn't means anything in French in a lot of context:

  • Il est → He is born
  • Il ne veut pas → He does not want

While ne is most widely used, this setting is useless and must be disabled on French websites.

To reproduce

Steps to reproduce the behaviour:

  1. Enable Typogrify with set_smart_diacritics set to true
  2. Write ne
  3. See text converted to on front-end

Versions

  • Plugin version: 1.1.19
  • Craft version: 3.7.41

This is unlikely to have anything to do with this plugin, and more likely an issue to take up with the PHP Typography library that it uses: https://github.com/mundschenk-at/php-typography