diff --git a/Web/Presenters/templates/Notes/Create.xml b/Web/Presenters/templates/Notes/Create.xml index e1a2bd2e..cd653924 100644 --- a/Web/Presenters/templates/Notes/Create.xml +++ b/Web/Presenters/templates/Notes/Create.xml @@ -47,7 +47,7 @@ window._preview = undefined; } - window._preview = window.open("data:text/html,", "_blank", { popup: true }); + window._preview = window.open("about:blank", "_blank", { popup: true }); window._preview.document.write(`
`); window._preview.document.querySelector("input[name=title]").value = document.querySelector("input[name=name]").value; window._preview.document.querySelector("input[name=html]").value = window._editor.getValue();