Skip to content

Commit

Permalink
Remove CSS white-space from messages to prevent annoying side scrolling
Browse files Browse the repository at this point in the history
  • Loading branch information
the-djmaze committed Feb 17, 2023
1 parent ab77949 commit 75a6353
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dev/Common/Html.js
Original file line number Diff line number Diff line change
Expand Up @@ -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, '')
,
Expand Down

0 comments on commit 75a6353

Please sign in to comment.