From c96f8f6c820d43a55388f0307f3a6de9471ebb10 Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Mon, 30 May 2022 16:22:44 +1000 Subject: linting --- src/F2Md/Export.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/F2Md/Export.hs') diff --git a/src/F2Md/Export.hs b/src/F2Md/Export.hs index b06155c..d3ed45a 100644 --- a/src/F2Md/Export.hs +++ b/src/F2Md/Export.hs @@ -35,7 +35,7 @@ import System.FilePath formatMessage :: Message -> Text formatMessage (Message from subject date messageId body _) = - "MIME-Version: 1.0\n" <> "Date: " <> (T.pack $ show date) <> "\nSubject: " <> subject <> + "MIME-Version: 1.0\n" <> "Date: " <> T.pack (show date) <> "\nSubject: " <> subject <> "\nFrom: " <> from <> "\nMessage-ID: " <> messageId <> "\nContent-Type: text/html" <> "\n\n" <> body -- cgit v1.2.3