mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 21:49:21 +03:00
Release fixes
Additional branding options fixes (php mail functionality)
This commit is contained in:
parent
baae7f2900
commit
8f55b5c554
14 changed files with 351 additions and 159 deletions
|
|
@ -196,6 +196,8 @@
|
|||
{
|
||||
this.modeToggle(true);
|
||||
|
||||
sHtml = sHtml.replace(/<[pP][^>]*><\/[pP]>/g, '');
|
||||
|
||||
try {
|
||||
this.editor.setData(sHtml);
|
||||
} catch (e) {}
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue