Road to the MIT

This commit is contained in:
RainLoop Team 2022-08-31 18:15:45 +00:00
parent 13d05dc2ff
commit aa5d3fc89d
75 changed files with 392 additions and 2283 deletions

View file

@ -239,7 +239,8 @@ class HtmlUtils
$oWrapHtml->setAttribute($sKey, $sValue);
}
$oWrapDom = $oDom->createElement('div', '___xxx___');
$sRndId = '__wrp__'.md5(APP_START.rand(10000, 99999).APP_START).'__';
$oWrapDom = $oDom->createElement('div', $sRndId);
$oWrapDom->setAttribute('data-x-div-type', 'body');
foreach ($aBodylAttrs as $sKey => $sValue)
{
@ -250,7 +251,7 @@ class HtmlUtils
$sWrp = $oDom->saveHTML($oWrapHtml);
$sResult = \str_replace('___xxx___', $sResult, $sWrp);
$sResult = \str_replace($sRndId, $sResult, $sWrp);
}
$sResult = \str_replace(\MailSo\Base\HtmlUtils::$KOS, ':', $sResult);