diff --git a/dev/Common/Html.js b/dev/Common/Html.js
index 594835df6..43888e266 100644
--- a/dev/Common/Html.js
+++ b/dev/Common/Html.js
@@ -117,6 +117,8 @@ export const
// Not supported by element
.replace(/<(\/?)body(\s[^>]*)?>/gi, '<$1div class="mail-body"$2>')
.replace(/<\/?(html|head)[^>]*>/gi, '')
+ // Fix Reddit https://github.com/the-djmaze/snappymail/issues/540
+ .replace(//, '')
.trim();
html = '';