|
@ -137,7 +137,7 @@ $(function () { |
|
|
if (htmlPre.length) { |
|
|
if (htmlPre.length) { |
|
|
var opts = {USE_PROFILES: {html: true}}; |
|
|
var opts = {USE_PROFILES: {html: true}}; |
|
|
var clean = DOMPurify.sanitize(htmlPre.text(), opts); |
|
|
var clean = DOMPurify.sanitize(htmlPre.text(), opts); |
|
|
var blob = new Blob([clean], {type: "text/html"}); |
|
|
|
|
|
|
|
|
var blob = new Blob([clean], {type: "text/html; charset=utf-8"}); |
|
|
|
|
|
|
|
|
htmlPre.remove(); |
|
|
htmlPre.remove(); |
|
|
document.getElementById("email-body-html-iframe").src = URL.createObjectURL(blob); |
|
|
document.getElementById("email-body-html-iframe").src = URL.createObjectURL(blob); |
|
|