diff --git a/dev/Common/Html.js b/dev/Common/Html.js
index dce7c9e53..57b1f3d26 100644
--- a/dev/Common/Html.js
+++ b/dev/Common/Html.js
@@ -308,6 +308,8 @@ export const
// Not supported by element
// .replace(/]*>/gi, '')
// .replace(/<\?xml[^>]*\?>/gi, '')
+ // https://github.com/the-djmaze/snappymail/issues/1860
+ .replace(/<(\/?)x-html(\s[^>]*)?>/gi, '')
.replace(/<(\/?)head(\s[^>]*)?>/gi, '')
.replace(/<(\/?)body(\s[^>]*)?>/gi, '<$1div class="mail-body"$2>')
// .replace(/<\/?(html|head)[^>]*>/gi, '')