We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7e2ea3 commit a943852Copy full SHA for a943852
src/utils/stripDiacritics.ts
@@ -114,7 +114,7 @@ export default function stripDiacritics(str: string): string {
114
return (
115
str
116
.normalize('NFD')
117
- .replace(/[\u0300-\u036F]/g, '') // Remove combining diacritics
+ .replace(/[\u0300-\u036F\u3099\u309A]/g, '') // Remove combining diacritics
118
/* eslint-disable-next-line no-control-regex */
119
.replace(/[^\u0000-\u007E]/g, (a) => map[a] || a)
120
);
0 commit comments