From 4f3265f8b600ef5517c23a20462a3b93b804f97e Mon Sep 17 00:00:00 2001 From: the-djmaze <> Date: Mon, 28 Aug 2023 17:44:07 +0200 Subject: [PATCH] Resolve #1215 --- dev/Common/Html.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/Common/Html.js b/dev/Common/Html.js index d182888e3..83d76616e 100644 --- a/dev/Common/Html.js +++ b/dev/Common/Html.js @@ -99,7 +99,7 @@ const }, cleanCSS = source => - source.trim().replace(/-(ms|webkit)-[^;]+(;|$)/g, '') + source.trim().replace(/(^|;)\s*-(ms|webkit)-[^;]+(;|$)/g, '') .replace(/white-space[^;]+(;|$)/g, '') // Drop Microsoft Office style properties // .replace(/mso-[^:;]+:[^;]+/gi, '')