From 8c461c7f9cbe46e40357115fc17a71bca79f92c8 Mon Sep 17 00:00:00 2001 From: William Minchin Date: Fri, 7 Feb 2014 08:21:28 -0700 Subject: [PATCH] Don't replace all double spaces want to maintain the ability to format with the use of just text. --- jrnl/Entry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jrnl/Entry.py b/jrnl/Entry.py index 142286ed..afef245b 100644 --- a/jrnl/Entry.py +++ b/jrnl/Entry.py @@ -46,7 +46,7 @@ class Entry: self.journal.config['linewrap'], initial_indent="| ", subsequent_indent="| ", - drop_whitespace=False).replace(' ', ' ') + drop_whitespace=False) for line in self.body.strip().splitlines() ]) else: