mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-10 15:08:28 +03:00
Resolve #1208
This commit is contained in:
parent
4f3265f8b6
commit
c60f8776f4
2 changed files with 3 additions and 3 deletions
|
|
@ -464,7 +464,7 @@ export class MessageModel extends AbstractModel {
|
|||
clone.querySelectorAll('.sm-bq-switcher').forEach(
|
||||
node => node.replaceWith(node.lastElementChild)
|
||||
);
|
||||
return clone.innerHTML;
|
||||
return (clone.querySelector('.mail-body') || clone).innerHTML;
|
||||
}
|
||||
let result = msgHtml(this);
|
||||
return result.html || plainToHtml(this.plain());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue