mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 12:39:20 +03:00
fix compose signature compiler
This commit is contained in:
parent
25cf891037
commit
7c25098c1b
7 changed files with 70 additions and 20 deletions
|
|
@ -1689,7 +1689,7 @@ Utils.htmlToPlain = function (sHtml)
|
|||
sText = sHtml
|
||||
.replace(/[\s]+/gm, ' ')
|
||||
.replace(/((?:href|data)\s?=\s?)("[^"]+?"|'[^']+?')/gmi, fixAttibuteValue)
|
||||
.replace(/<br\s?\/?>/gmi, '\n')
|
||||
.replace(/<br[^>]*>/gmi, '\n')
|
||||
.replace(/<\/h[\d]>/gi, '\n')
|
||||
.replace(/<\/p>/gi, '\n\n')
|
||||
.replace(/<\/li>/gi, '\n')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue