mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-10-26 23:23:33 +03:00
Resolve #2089
This commit is contained in:
parent
49f94a5650
commit
eb47ce41a3
1 changed files with 2 additions and 1 deletions
|
|
@ -312,7 +312,8 @@ export const
|
|||
// https://github.com/the-djmaze/snappymail/issues/1860
|
||||
.replace(/<(\/?)x-html(\s[^>]*)?>/gi, '')
|
||||
.replace(/<(\/?)head(\s[^>]*)?>/gi, '')
|
||||
.replace(/<(\/?)body(\s[^>]*)?>/gi, '<$1div class="mail-body"$2>')
|
||||
.replace(/<body(\s[^>]*)?>/i, '<div class="mail-body"$1>')
|
||||
.replace(/<(\/?)body(\s[^>]*)?>/gi, '<$1div$2>')
|
||||
// .replace(/<\/?(html|head)[^>]*>/gi, '')
|
||||
// Fix Reddit https://github.com/the-djmaze/snappymail/issues/540
|
||||
.replace(/<span class="preview-text"[\s\S]+?<\/span>/, '')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue