From 0106751e645a7c49302d67b531998af8c778fdfb Mon Sep 17 00:00:00 2001 From: the-djmaze <> Date: Wed, 9 Mar 2022 16:53:04 +0100 Subject: [PATCH] Bugfix: HTMLTemplateElement never has a element --- dev/Common/Html.js | 48 ++++++++++++++++++++++++++------------------ dev/Model/Message.js | 7 ------- 2 files changed, 28 insertions(+), 27 deletions(-) diff --git a/dev/Common/Html.js b/dev/Common/Html.js index 58a27321c..53f9c94e7 100644 --- a/dev/Common/Html.js +++ b/dev/Common/Html.js @@ -102,9 +102,11 @@ export const .replace(/(]*>)([\s\S]*?)(<\/pre>)/gi, aMatches => { return (aMatches[1] + aMatches[2].trim() + aMatches[3].trim()).replace(/\r?\n/g, '
'); }) - // \MailSo\Base\HtmlUtils::ClearFastTags - .replace(/]*>/i, '') - .replace(/<\?xml [^>]*\?>/i, '') + .replace(/]*>/gi, '') + .replace(/<\?xml[^>]*\?>/gi, '') + // Not supported by