From 707d0319866682ca9da7d09c121d8a23d771304c Mon Sep 17 00:00:00 2001 From: Kuba Orlik Date: Sun, 5 Jun 2022 14:19:55 +0200 Subject: [PATCH] Better handling of mails encoded with european encodings --- .gitignore | 1 + mail-to-pdf.mjs | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 2ccbe46..23bd52b 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /node_modules/ +/.log/ diff --git a/mail-to-pdf.mjs b/mail-to-pdf.mjs index ba5f853..d651415 100755 --- a/mail-to-pdf.mjs +++ b/mail-to-pdf.mjs @@ -50,6 +50,7 @@ if (!html.includes("`, + ``, ``, ]) { html = html.replace(str_to_remove, "");