mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Resolve #932
This commit is contained in:
parent
44b8370f63
commit
234a335425
1 changed files with 3 additions and 3 deletions
|
|
@ -865,9 +865,9 @@ export class ComposePopupView extends AbstractViewPopup {
|
|||
|
||||
// https://github.com/the-djmaze/snappymail/issues/491
|
||||
tpl.innerHTML = message.bodyAsHTML();
|
||||
tpl.content.querySelectorAll('img').forEach(img =>
|
||||
img.dataset.xSrcCid || img.dataset.xSrc || img.replaceWith(img.alt || img.title)
|
||||
);
|
||||
tpl.content.querySelectorAll('img').forEach(img => {
|
||||
img.src || img.dataset.xSrcCid || img.dataset.xSrc || img.replaceWith(img.alt || img.title)
|
||||
});
|
||||
sText = tpl.innerHTML.trim();
|
||||
|
||||
switch (msgComposeType) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue