diff --git a/src/text-transform/utils.ts b/src/text-transform/utils.ts index f3fdd1cb0..71abfea25 100644 --- a/src/text-transform/utils.ts +++ b/src/text-transform/utils.ts @@ -62,7 +62,7 @@ export function typograf(text: string, lang: Lang = 'ru') { }; const tp = new Typograf({ - locale: localeByLang[lang], + locale: localeByLang[lang] || lang, htmlEntity: {type: 'name'}, });