mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-10 16:48:31 +02:00
Merge pull request #42 from dedan/strip_whitespace
remove the leading whitespace introduced by textwrap
This commit is contained in:
commit
9796f5b0b0
1 changed files with 4 additions and 4 deletions
|
@ -39,7 +39,7 @@ class Entry:
|
||||||
self.journal.config['linewrap'],
|
self.journal.config['linewrap'],
|
||||||
initial_indent="| ",
|
initial_indent="| ",
|
||||||
subsequent_indent="| ",
|
subsequent_indent="| ",
|
||||||
drop_whitespace=False)
|
drop_whitespace=False).replace(' ', ' ')
|
||||||
for line in self.body.strip().splitlines()
|
for line in self.body.strip().splitlines()
|
||||||
])
|
])
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Reference in a new issue