mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-09-04 12:14:11 +08:00
Clear data-original attr in html nessages
This commit is contained in:
parent
efeef4b143
commit
1e687f9a76
1 changed files with 5 additions and 0 deletions
|
@ -591,6 +591,11 @@ class HtmlUtils
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($oElement->hasAttribute('data-original'))
|
||||||
|
{
|
||||||
|
$oElement->removeAttribute('data-original');
|
||||||
|
}
|
||||||
|
|
||||||
if ($oElement->hasAttribute('data-x-div-type'))
|
if ($oElement->hasAttribute('data-x-div-type'))
|
||||||
{
|
{
|
||||||
$oElement->removeAttribute('data-x-div-type');
|
$oElement->removeAttribute('data-x-div-type');
|
||||||
|
|
Loading…
Add table
Reference in a new issue