diff --git a/dev/Common/Html.js b/dev/Common/Html.js index 3be04553c..e3f97ad69 100644 --- a/dev/Common/Html.js +++ b/dev/Common/Html.js @@ -312,9 +312,17 @@ export const // https://github.com/the-djmaze/snappymail/issues/1125 tmpl.content.querySelectorAll('form,button').forEach(oElement => replaceWithChildren(oElement)); + // https://github.com/the-djmaze/snappymail/issues/1641 let body = tmpl.content.querySelector('.mail-body'); [...tmpl.content.querySelectorAll('.mail-body + .mail-body')] .forEach(oElement => body.append(...oElement.childNodes)); +/* + .forEach(oElement => { + let bq = createElement('blockquote'); + bq.append(...oElement.childNodes); + body.replaceWith(bq); + }); +*/ [...tmpl.content.querySelectorAll('*')].forEach(oElement => { const name = oElement.tagName,