mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-20 04:58:32 +02:00
Removed extra newline at end of title
This commit is contained in:
parent
e7da8c12a0
commit
1d4bbea6c8
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ class Entry:
|
|||
# Color date red and make sure first line of title is bolded
|
||||
title = textwrap.fill(colorize_red(date_str) + " " + bold(self.title), self.journal.config['linewrap'])
|
||||
# Make sure all lines after the first are bolded, too
|
||||
title = "".join([bold(part) + "\n" for part in title.split("\n")])
|
||||
title = "".join([bold(part) + "\n" for part in title.split("\n")]).strip()
|
||||
body = "\n".join([
|
||||
textwrap.fill(
|
||||
line,
|
||||
|
|
Loading…
Add table
Reference in a new issue