mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-10 15:08:28 +03:00
Resolve #1006
This commit is contained in:
parent
670271f257
commit
1b49399c46
1 changed files with 2 additions and 2 deletions
|
|
@ -137,9 +137,9 @@ abstract class HtmlUtils
|
|||
$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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue