fix compose signature compiler

This commit is contained in:
RainLoop Team 2014-08-14 17:09:42 +04:00
parent 25cf891037
commit 7c25098c1b
7 changed files with 70 additions and 20 deletions

View file

@ -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')