mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-11-10 09:02:45 +08:00
Resolve issue https://github.com/the-djmaze/snappymail/issues/27
This commit is contained in:
parent
ff6fb41812
commit
48769f0aca
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ export function htmlToPlain(html) {
|
|||
.replace(/"/gi, '"')
|
||||
.replace(/<[^>]*>/gm, '');
|
||||
|
||||
text = splitPlainText(tpl.innerText
|
||||
text = splitPlainText(tpl.content.textContent
|
||||
.replace(/\n[ \t]+/gm, '\n')
|
||||
.replace(/[\n]{3,}/gm, '\n\n')
|
||||
.replace(/>/gi, '>')
|
||||
|
|
Loading…
Reference in a new issue