From c83b86c3929e02e31946bde83f436846fad5a271 Mon Sep 17 00:00:00 2001 From: eoao Date: Sat, 25 Oct 2025 08:35:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D<>=E5=AD=97=E7=AC=A6=E5=AF=BC?= =?UTF-8?q?=E8=87=B4TG=E6=B6=88=E6=81=AF=E5=8F=91=E9=80=81=E5=A4=B1?= =?UTF-8?q?=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mail-worker/src/template/email-msg.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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;