mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-02-24 23:08:08 +08:00
Remove CSS white-space from messages to prevent annoying side scrolling
This commit is contained in:
parent
ab77949e64
commit
75a6353445
1 changed files with 1 additions and 0 deletions
|
@ -100,6 +100,7 @@ const
|
|||
|
||||
cleanCSS = source =>
|
||||
source.trim().replace(/-(ms|webkit)-[^;]+(;|$)/g, '')
|
||||
.replace(/white-space[^;]+(;|$)/g, '')
|
||||
// Drop Microsoft Office style properties
|
||||
// .replace(/mso-[^:;]+:[^;]+/gi, '')
|
||||
,
|
||||
|
|
Loading…
Reference in a new issue