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

Unintended hyphen-dash-replacement

animaux opened this issue · comments

The german string Kunst-, Kultur- und Architekturgeschichte is rendered Kunst–, Kultur- und Architekturgeschichte, the first hyphen is replaced with an en-dash, but should remain a hyphen.

Plugin version: 1.1.19
Craft version: Craft Pro 3.7.34

Another example is the german spelling of email —> E-Mail which unintendedly becomes E–Mail.

This is something that should probably be posted on the PHP Typography repository, as that's the library that does this:

https://github.com/mundschenk-at/php-typography/issues

I see, thanks!