summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--TreeView.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/TreeView.hs b/TreeView.hs
index 8a3aebb..ed91ce8 100644
--- a/TreeView.hs
+++ b/TreeView.hs
@@ -145,7 +145,7 @@ xconvPartContent
:: Message -> MessagePart -> MessageContent -> Forest TreeView
xconvPartContent m p = \case
ContentText t ->
- map (xconvLine m p) $ zip [0..] (T.lines t)
+ map (xconvLine m p) (zip [0..] ("" : T.lines t))
ContentMultipart parts ->
map (xconvPart2 m) parts
-- [Node (TVMessageLine m p 0 "ContentMultipart") []]