diff --git a/jrnl/Entry.py b/jrnl/Entry.py index 142286ed..d4d3bb6d 100644 --- a/jrnl/Entry.py +++ b/jrnl/Entry.py @@ -42,11 +42,11 @@ class Entry: if not short and self.journal.config['linewrap']: title = textwrap.fill(date_str + " " + self.title, self.journal.config['linewrap']) body = "\n".join([ - textwrap.fill(line+" ", + textwrap.fill((line + " ") if (len(line) == 0) else line, self.journal.config['linewrap'], initial_indent="| ", subsequent_indent="| ", - drop_whitespace=False).replace(' ', ' ') + drop_whitespace=False) for line in self.body.strip().splitlines() ]) else: