mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-10 16:48:31 +02:00
Strips blank lines at the end of Entry bodies when prettyprinting.
This commit is contained in:
parent
6c1e3f2351
commit
2f8a95f553
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ class Entry:
|
|||
initial_indent="| ",
|
||||
subsequent_indent="| ",
|
||||
drop_whitespace=False)
|
||||
for line in self.body.splitlines()
|
||||
for line in self.body.strip().splitlines()
|
||||
])
|
||||
else:
|
||||
title = date_str + " " + self.title
|
||||
|
|
Loading…
Add table
Reference in a new issue