Release fixes

Additional branding options
fixes (php mail functionality)
This commit is contained in:
RainLoop Team 2015-05-23 02:04:34 +04:00
parent baae7f2900
commit 8f55b5c554
14 changed files with 351 additions and 159 deletions

View file

@ -196,6 +196,8 @@
{
this.modeToggle(true);
sHtml = sHtml.replace(/<[pP][^>]*><\/[pP]>/g, '');
try {
this.editor.setData(sHtml);
} catch (e) {}

View file

@ -867,6 +867,7 @@
sText = sHtml
.replace(/\u0002([\s\S]*)\u0002/gm, '\u200C$1\u200C')
.replace(/<[pP][^>]*><\/[pP]>/g, '')
.replace(/<pre[^>]*>([\s\S\r\n]*)<\/pre>/gmi, convertPre)
.replace(/[\s]+/gm, ' ')
.replace(/((?:href|data)\s?=\s?)("[^"]+?"|'[^']+?')/gmi, fixAttibuteValue)