From 14881d0515c4d0bb96adb92f0c182e79866dd88f Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Mon, 26 Sep 2011 20:56:01 +0000 Subject: [PATCH] add: trim whitespace in auto-created journal --- hledger-lib/Hledger/Read.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hledger-lib/Hledger/Read.hs b/hledger-lib/Hledger/Read.hs index 81d7be828..a8750e725 100644 --- a/hledger-lib/Hledger/Read.hs +++ b/hledger-lib/Hledger/Read.hs @@ -121,7 +121,7 @@ ensureJournalFile f = do newJournalContent :: IO String newJournalContent = do d <- getCurrentDay - return $ printf "; journal created %s by hledger\n\n" (show d) + return $ printf "; journal created %s by hledger\n" (show d) -- | Read a Journal from this string, using the specified data format or -- trying all known formats, or give an error string.