Commit 1fe391c
fix: correctly capitalize suffix acronyms written with dots (closes #141)
lc() strips only trailing periods, so 'M.D.' became 'm.d' which failed
to match the dot-free exception key 'md'. Now also try the dot-stripped
form when looking up capitalization exceptions.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 2373240 commit 1fe391c
2 files changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
962 | 962 | | |
963 | 963 | | |
964 | 964 | | |
| 965 | + | |
| 966 | + | |
965 | 967 | | |
966 | 968 | | |
967 | 969 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
96 | 103 | | |
97 | 104 | | |
98 | 105 | | |
| |||
0 commit comments