main: don't convert markdown in plain body ever

This commit is contained in:
Dawid Dziurla 2021-04-25 16:19:34 +02:00
parent b738850ab1
commit 63f6c7e5d2
No known key found for this signature in database
GPG Key ID: 7B6D8368172E9B0B

View File

@ -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
})