mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-12-29 03:43:16 +08:00
Ensure quoted string detector does not remove the body element #615
This commit is contained in:
parent
7ab5347be9
commit
24746823c8
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ class QuotedHTMLTransformer {
|
|||
}
|
||||
|
||||
for (const el of quoteStringDetector(doc)) {
|
||||
if (el) {
|
||||
if (el && el !== doc.body) {
|
||||
el.remove();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue