mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-09-20 07:35:55 +08:00
Resolve #1302
This commit is contained in:
parent
36c8b97cb1
commit
87381e2e4d
|
@ -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…
Reference in a new issue