From 306fa70fb3ae1ee4c1b35c22b6c222982479bd6f Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Sat, 28 Mar 2020 11:44:58 +0100 Subject: Add analysis for ar-idlebi and ar-alramly --- lulua/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lulua/util.py') diff --git a/lulua/util.py b/lulua/util.py index ce6e887..c5634c2 100644 --- a/lulua/util.py +++ b/lulua/util.py @@ -73,7 +73,7 @@ def displayText (text): control or invisible characters """ if text is None: return text - if len (text) == 1 and unicodedata.combining (text) != 0: + if all (map (lambda x: unicodedata.combining (x) != 0, text)): # add circle if combining return '\u25cc' + text invMap = { -- cgit v1.2.3