From 8f39b121987e625c980bbb89cf33afdd13af9daa Mon Sep 17 00:00:00 2001 From: Eshan Ramesh Date: Tue, 19 May 2020 16:36:13 -0400 Subject: [PATCH] make it lstrip not strip --- jrnl/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jrnl/util.py b/jrnl/util.py index 945710e9..189f1cf5 100644 --- a/jrnl/util.py +++ b/jrnl/util.py @@ -262,7 +262,7 @@ def slugify(string): def split_title(text): """Splits the first sentence off from a text.""" - sep = SENTENCE_SPLITTER_ONLY_NEWLINE.search(text.strip()) + sep = SENTENCE_SPLITTER_ONLY_NEWLINE.search(text.lstrip()) if not sep: sep = SENTENCE_SPLITTER.search(text) if not sep: