From 5c47490fe7f2f1e84945712a42d0821201649094 Mon Sep 17 00:00:00 2001 From: Alexey Date: Sat, 9 Sep 2023 11:30:59 +0300 Subject: [PATCH] Yes, this is how it should work --- addon/globalPlugins/textnormalizer/textnormalizer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addon/globalPlugins/textnormalizer/textnormalizer.py b/addon/globalPlugins/textnormalizer/textnormalizer.py index d7d8b47..838b83d 100644 --- a/addon/globalPlugins/textnormalizer/textnormalizer.py +++ b/addon/globalPlugins/textnormalizer/textnormalizer.py @@ -134,7 +134,7 @@ def CheckText(self, text, change_case = True): """ # сразу убираем символ "мягкий перенос" - text = text.replace(chr(173), "") + text = text.replace("\u200d", "").replace(chr(173), "").replace(chr(8205), "") newText = text words = re.findall("[\\w\\@#]+", newText, re.IGNORECASE) words2 = words.copy()