mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-08 07:09:28 +03:00
fix newlines
This commit is contained in:
parent
d795c0bac8
commit
daff4bf09e
@ -50,7 +50,7 @@ autofillEntry e@(LedgerEntry _ _ _ _ _ ts _) =
|
||||
|
||||
showEntry :: LedgerEntry -> String
|
||||
showEntry e =
|
||||
"\n" ++ precedingcomment ++ description ++ unlines (showtxns $ etransactions e)
|
||||
unlines $ [precedingcomment ++ description] ++ (showtxns $ etransactions e) ++ [""]
|
||||
where
|
||||
precedingcomment = epreceding_comment_lines e
|
||||
description = concat [date, status, code, desc] -- , comment]
|
||||
|
Loading…
Reference in New Issue
Block a user