diff --git a/mail-worker/src/template/email-msg.js b/mail-worker/src/template/email-msg.js index 979c231..98a28fd 100644 --- a/mail-worker/src/template/email-msg.js +++ b/mail-worker/src/template/email-msg.js @@ -26,11 +26,14 @@ export default function emailMsgTemplate(email, tgMsgTo, tgMsgFrom, tgMsgText) { 收件人:\u200B${email.toEmail}` } + const text = (email.text || emailUtils.htmlToText(email.content)) + .replace(//g, '>'); if(tgMsgText === 'show') { template += ` -${email.text || emailUtils.htmlToText(email.content)}` +${text}` } return template;