保持回复引用在编辑器中的原始换行

This commit is contained in:
smail 2026-09-27 20:57:56 +08:00
parent c9bee9eecd
commit 71af1e549e

View File

@ -47,6 +47,6 @@ export function prepareReply(message, identity) {
names,
pickedDomain,
subject: /^re\s*:/i.test(subject) ? subject : `Re: ${subject}`,
html: `<p><br></p><blockquote><p>${escapeHTML(quote).replace(/\r?\n/g, '<br>')}</p></blockquote>`
html: `<p><br></p><blockquote>${escapeHTML(quote).replace(/\r?\n/g, '<br>')}</blockquote>`
}
}