This commit is contained in:
the-djmaze 2024-02-08 18:48:54 +01:00
parent 81f8fe3019
commit d1154df74d

View file

@ -278,6 +278,8 @@ export const
.replace(/<span class="preview-text"[\s\S]+?<\/span>/, '')
// https://github.com/the-djmaze/snappymail/issues/900
.replace(/\u2028/g,' ')
// https://github.com/the-djmaze/snappymail/issues/1415
.replace(/<br>\s*<\/p>/gi,'</p>')
.trim();
html = '';