mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-08 17:07:03 +03: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(/"/gi, '"')
|
||||||
.replace(/<[^>]*>/gm, '');
|
.replace(/<[^>]*>/gm, '');
|
||||||
|
|
||||||
text = splitPlainText(tpl.innerText
|
text = splitPlainText(tpl.content.textContent
|
||||||
.replace(/\n[ \t]+/gm, '\n')
|
.replace(/\n[ \t]+/gm, '\n')
|
||||||
.replace(/[\n]{3,}/gm, '\n\n')
|
.replace(/[\n]{3,}/gm, '\n\n')
|
||||||
.replace(/>/gi, '>')
|
.replace(/>/gi, '>')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue