mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 12:39:20 +03:00
Resolve #1001
This commit is contained in:
parent
5436253ffd
commit
8c7fd77762
1 changed files with 1 additions and 1 deletions
|
|
@ -266,7 +266,7 @@ export const
|
|||
|
||||
tmpl.innerHTML = html
|
||||
// Strip Microsoft comments
|
||||
.replace(/<!--\[if[\s\S]*?endif\]-->/gi, '')
|
||||
.replace(/<!--\[if[\s\S]*?-->/gi, '')
|
||||
// .replace(/<pre[^>]*>[\s\S]*?<\/pre>/gi, pre => pre.replace(/\n/g, '\n<br>'))
|
||||
// Not supported by <template> element
|
||||
// .replace(/<!doctype[^>]*>/gi, '')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue