mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-07 16:37:02 +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
|
tmpl.innerHTML = html
|
||||||
// Strip Microsoft comments
|
// 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>'))
|
// .replace(/<pre[^>]*>[\s\S]*?<\/pre>/gi, pre => pre.replace(/\n/g, '\n<br>'))
|
||||||
// Not supported by <template> element
|
// Not supported by <template> element
|
||||||
// .replace(/<!doctype[^>]*>/gi, '')
|
// .replace(/<!doctype[^>]*>/gi, '')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue