typogrify icon indicating copy to clipboard operation
typogrify copied to clipboard

Typogrify will mangle initials in names

Open szhorvat opened this issue 10 years ago • 1 comments

It seems Typogrify will process capitals separated by dots and spaces, as in J. F. Kennedy. This gives an incorrect result with initials used in names (initials shouldn't be formatted differently than the rest of the name).

Perhaps these should be left alone, at least when the letters are separated by both a . and a space. Abbreviations where caps are separated with both dots and spaces are not common. This pattern is very common with names/initials.

This can be particularly annoying in pages with lots of references to scientific publications.

szhorvat avatar Jul 07 '14 19:07 szhorvat

I've run into this myself. We also have an issue with long lines of capitalized text (often seen in legal docs). The main reason this isn't fixed is I just haven't have time to figure out and write the correct regex. :blush:

chrisdrackett avatar Jul 07 '14 20:07 chrisdrackett