This commit is contained in:
the-djmaze 2023-11-17 00:37:21 +01:00
parent 36c8b97cb1
commit 87381e2e4d

View file

@ -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() {