Drop whitespace in print

Fixes #222 and #376
This commit is contained in:
Manuel Ebert 2015-12-28 21:53:23 -08:00
parent 28d87861cc
commit c2ca11caa7

View file

@ -82,7 +82,7 @@ class Entry:
self.journal.config['linewrap'],
initial_indent="| ",
subsequent_indent="| ",
drop_whitespace=False)
drop_whitespace=True)
for line in self.body.rstrip(" \n").splitlines()
])
else: