mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-23 12:43:48 -04:00
CR feedback
This commit is contained in:
parent
73734d9d31
commit
2c6b8407c2
@ -67,6 +67,8 @@ export const hbsLatinToCyrillic = (str: string): string => {
|
||||
let result = '';
|
||||
let i = 0;
|
||||
|
||||
str = str.normalize('NFD').replace(/[\u0300-\u036f]/g, '');
|
||||
|
||||
while (i < str.length) {
|
||||
if (i + 1 < str.length) {
|
||||
// check for digraphs
|
||||
|
Loading…
x
Reference in New Issue
Block a user