mirror of
https://github.com/dawidd6/action-send-mail.git
synced 2024-12-26 11:03:06 +07:00
main: don't convert markdown in plain body ever
This commit is contained in:
parent
b738850ab1
commit
63f6c7e5d2
2
main.js
2
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
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user