mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +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');
|
$oElement->removeAttribute('data-x-src');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// style attribute images
|
||||||
foreach ($xpath->query('//*[@data-x-style-url]') as $oElement) {
|
foreach ($xpath->query('//*[@data-x-style-url]') as $oElement) {
|
||||||
// style attribute images
|
$aCid = \json_decode($oElement->getAttribute('data-x-style-url'), true);
|
||||||
$aCid = \array_merge($aCid, \json_decode($oElement->getAttribute('data-x-style-url'), true));
|
|
||||||
$oElement->removeAttribute('data-x-style-url');
|
$oElement->removeAttribute('data-x-style-url');
|
||||||
if ($aCid) {
|
if ($aCid) {
|
||||||
foreach ($aCid as $sCidName => $sCid) {
|
foreach ($aCid as $sCidName => $sCid) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue