mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 04:29:21 +03: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…
Add table
Add a link
Reference in a new issue