From 1d4bbea6c87eec0be5ace05b428d66bb9d8ccab6 Mon Sep 17 00:00:00 2001 From: Aaron Lichtman Date: Sat, 26 Oct 2019 00:26:11 +0200 Subject: [PATCH] Removed extra newline at end of title --- jrnl/Entry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jrnl/Entry.py b/jrnl/Entry.py index ba2f7dd0..51a0ea43 100755 --- a/jrnl/Entry.py +++ b/jrnl/Entry.py @@ -82,7 +82,7 @@ class Entry: # Color date red and make sure first line of title is bolded title = textwrap.fill(colorize_red(date_str) + " " + bold(self.title), self.journal.config['linewrap']) # Make sure all lines after the first are bolded, too - title = "".join([bold(part) + "\n" for part in title.split("\n")]) + title = "".join([bold(part) + "\n" for part in title.split("\n")]).strip() body = "\n".join([ textwrap.fill( line,