From 63f6c7e5d2c59337c7c98f9073a780ee7b3a11a6 Mon Sep 17 00:00:00 2001 From: Dawid Dziurla Date: Sun, 25 Apr 2021 16:19:34 +0200 Subject: [PATCH] main: don't convert markdown in plain body ever --- main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.js b/main.js index f3d2c58a..01297c95 100644 --- a/main.js +++ b/main.js @@ -67,7 +67,7 @@ async function main() { cc: cc ? cc : undefined, bcc: bcc ? bcc : undefined, replyTo: replyTo ? replyTo : undefined, - text: body ? getBody(body, convertMarkdown) : undefined, + text: body ? getBody(body, false) : undefined, html: htmlBody ? getBody(htmlBody, convertMarkdown) : undefined, attachments: attachments ? attachments.split(',').map(f => ({ path: f.trim() })) : undefined })