diff options
Diffstat (limited to 'lulua/util.py')
-rw-r--r-- | lulua/util.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 = { |