Loading app/rainloop/v/1.16.0/app/libraries/MailSo/Base/HtmlUtils.php +1 −3 Original line number Diff line number Diff line Loading @@ -239,9 +239,8 @@ class HtmlUtils $oWrapHtml->setAttribute($sKey, $sValue); } #$oWrapDom = $oDom->createElement('div', '___xxx___'); $rand_str = base64_encode(random_bytes(32)); + $oWrapDom = $oDom->createElement('div', $rand_str); $oWrapDom = $oDom->createElement('div', $rand_str); $oWrapDom->setAttribute('data-x-div-type', 'body'); foreach ($aBodylAttrs as $sKey => $sValue) { Loading @@ -252,7 +251,6 @@ class HtmlUtils $sWrp = $oDom->saveHTML($oWrapHtml); #$sResult = \str_replace('___xxx___', $sResult, $sWrp); $sResult = \str_replace($rand_str, $sResult, $sWrp); } Loading Loading
app/rainloop/v/1.16.0/app/libraries/MailSo/Base/HtmlUtils.php +1 −3 Original line number Diff line number Diff line Loading @@ -239,9 +239,8 @@ class HtmlUtils $oWrapHtml->setAttribute($sKey, $sValue); } #$oWrapDom = $oDom->createElement('div', '___xxx___'); $rand_str = base64_encode(random_bytes(32)); + $oWrapDom = $oDom->createElement('div', $rand_str); $oWrapDom = $oDom->createElement('div', $rand_str); $oWrapDom->setAttribute('data-x-div-type', 'body'); foreach ($aBodylAttrs as $sKey => $sValue) { Loading @@ -252,7 +251,6 @@ class HtmlUtils $sWrp = $oDom->saveHTML($oWrapHtml); #$sResult = \str_replace('___xxx___', $sResult, $sWrp); $sResult = \str_replace($rand_str, $sResult, $sWrp); } Loading