mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 13:39:22 +03:00
Release fixes
This commit is contained in:
parent
b00959b2d0
commit
c73eb76816
9 changed files with 67 additions and 54 deletions
|
|
@ -1099,6 +1099,26 @@
|
|||
oText.find('.rlBlockquoteSwitcher').off('.rlBlockquoteSwitcher').remove();
|
||||
oText.find('[data-html-editor-font-wrapper]').removeAttr('data-html-editor-font-wrapper');
|
||||
|
||||
(function () {
|
||||
|
||||
var oTmp = null, iLimit = 0;
|
||||
|
||||
while (true)
|
||||
{
|
||||
iLimit++;
|
||||
|
||||
oTmp = oText.children();
|
||||
if (10 > iLimit && oTmp.is('div') && 1 === oTmp.length)
|
||||
{
|
||||
oTmp.children().unwrap();
|
||||
continue;
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
}());
|
||||
|
||||
sText = oText.html();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue