Skip to content

Commit

Permalink
Resolve #1006
Browse files Browse the repository at this point in the history
  • Loading branch information
the-djmaze committed Mar 10, 2023
1 parent 670271f commit 1b49399
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions snappymail/v/0.0.0/app/libraries/MailSo/Base/HtmlUtils.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,9 @@ public static function BuildHtml(string $sHtml, array &$aFoundCids, array &$aFou
$oElement->removeAttribute('data-x-src');
}

// style attribute images
foreach ($xpath->query('//*[@data-x-style-url]') as $oElement) {
// style attribute images
$aCid = \array_merge($aCid, \json_decode($oElement->getAttribute('data-x-style-url'), true));
$aCid = \json_decode($oElement->getAttribute('data-x-style-url'), true);
$oElement->removeAttribute('data-x-style-url');
if ($aCid) {
foreach ($aCid as $sCidName => $sCid) {
Expand Down

0 comments on commit 1b49399

Please sign in to comment.