mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-11 09:08:32 +02:00
commit
ec3751ccc0
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue