diff --git a/jrnl/DayOneJournal.py b/jrnl/DayOneJournal.py index 9e988f78..34979619 100644 --- a/jrnl/DayOneJournal.py +++ b/jrnl/DayOneJournal.py @@ -115,7 +115,7 @@ class DayOne(Journal.Journal): if line.endswith("*"): current_entry.starred = True line = line[:-1] - current_entry.title = line[len(date_blob) - 1:] + current_entry.title = line[len(date_blob) - 1:].strip() current_entry.date = new_date elif current_entry: current_entry.body += line + "\n"