diff --git a/jrnl/util.py b/jrnl/util.py index 0d924514..f6a7735f 100644 --- a/jrnl/util.py +++ b/jrnl/util.py @@ -209,4 +209,4 @@ def split_title(text): punkt = SENTENCE_SPLITTER.search(text) if not punkt: return text, "" - return text[:punkt.end()].rstrip(), text[punkt.end():].lstrip() + return text[:punkt.end()].strip(), text[punkt.end():].strip()