diff --git a/jrnl/Entry.py b/jrnl/Entry.py index 66b32f6c..b5e1965a 100755 --- a/jrnl/Entry.py +++ b/jrnl/Entry.py @@ -48,11 +48,10 @@ 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 + " ") if (len(line) == 0) else line, + textwrap.fill(line, self.journal.config['linewrap'], initial_indent="| ", - subsequent_indent="| ", - drop_whitespace=False) + subsequent_indent="| ") or "|" for line in self.body.rstrip(" \n").splitlines() ]) else: