mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-02 21:12:02 +08:00
Resolve #1215
This commit is contained in:
parent
8b246e64a6
commit
4f3265f8b6
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ const
|
||||||
},
|
},
|
||||||
|
|
||||||
cleanCSS = source =>
|
cleanCSS = source =>
|
||||||
source.trim().replace(/-(ms|webkit)-[^;]+(;|$)/g, '')
|
source.trim().replace(/(^|;)\s*-(ms|webkit)-[^;]+(;|$)/g, '')
|
||||||
.replace(/white-space[^;]+(;|$)/g, '')
|
.replace(/white-space[^;]+(;|$)/g, '')
|
||||||
// Drop Microsoft Office style properties
|
// Drop Microsoft Office style properties
|
||||||
// .replace(/mso-[^:;]+:[^;]+/gi, '')
|
// .replace(/mso-[^:;]+:[^;]+/gi, '')
|
||||||
|
|
Loading…
Reference in a new issue