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, '')