mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Fix PGP/Inline view
This commit is contained in:
parent
f5045b9759
commit
4a9bc53558
1 changed files with 1 additions and 1 deletions
|
|
@ -317,7 +317,7 @@ export class MessageModel extends AbstractModel {
|
||||||
body.innerHTML = plainToHtml(
|
body.innerHTML = plainToHtml(
|
||||||
(this.plain()
|
(this.plain()
|
||||||
? this.plain()
|
? this.plain()
|
||||||
.replace(/-----BEGIN PGP (SIGNED MESSAGE-----(\r?\n[a-z][^\r\n]+)+|SIGNATURE-----[\s\S]*)/, '')
|
.replace(/-----BEGIN PGP (SIGNED MESSAGE-----(\r?\n[^\r\n]+)+|SIGNATURE-----[\s\S]*)/sg, '')
|
||||||
.trim()
|
.trim()
|
||||||
: htmlToPlain(body.innerHTML)
|
: htmlToPlain(body.innerHTML)
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue