diff --git a/src/Utils.py b/src/Utils.py index 68b32c0e1..789dcb6a0 100644 --- a/src/Utils.py +++ b/src/Utils.py @@ -1366,10 +1366,10 @@ def navigation_label(db, nav_type, handle): obj = db.get_note_from_handle(handle) if obj: label = obj.get() - label = " ".join(label.split()) # When strings are cut, make sure they are unicode #otherwise you may end of with cutting within an utf-8 sequence label = unicode(label) + label = " ".join(label.split()) if len(label) > 40: label = label[:40] + "..."