mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-08 22:18:28 +03:00
Resolve #1302
This commit is contained in:
parent
36c8b97cb1
commit
87381e2e4d
1 changed files with 2 additions and 1 deletions
|
|
@ -321,7 +321,7 @@ export class MessageModel extends AbstractModel {
|
|||
? this.plain()
|
||||
.replace(/-----BEGIN PGP (SIGNED MESSAGE-----(\r?\n[^\r\n]+)+|SIGNATURE-----[\s\S]*)/sg, '')
|
||||
.trim()
|
||||
: htmlToPlain(body.innerHTML)
|
||||
: htmlToPlain(body.innerHTML || msgHtml(this).html)
|
||||
)
|
||||
);
|
||||
this.hasImages(false);
|
||||
|
|
@ -331,6 +331,7 @@ export class MessageModel extends AbstractModel {
|
|||
this.isHtml(html);
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
viewHtml() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue