mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +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()
|
? this.plain()
|
||||||
.replace(/-----BEGIN PGP (SIGNED MESSAGE-----(\r?\n[^\r\n]+)+|SIGNATURE-----[\s\S]*)/sg, '')
|
.replace(/-----BEGIN PGP (SIGNED MESSAGE-----(\r?\n[^\r\n]+)+|SIGNATURE-----[\s\S]*)/sg, '')
|
||||||
.trim()
|
.trim()
|
||||||
: htmlToPlain(body.innerHTML)
|
: htmlToPlain(body.innerHTML || msgHtml(this).html)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
this.hasImages(false);
|
this.hasImages(false);
|
||||||
|
|
@ -331,6 +331,7 @@ export class MessageModel extends AbstractModel {
|
||||||
this.isHtml(html);
|
this.isHtml(html);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
viewHtml() {
|
viewHtml() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue