From: Ardis Lu Date: Thu, 23 Feb 2023 04:16:14 +0000 (-0800) Subject: Trim whitespace X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=67b64d1ff7bd39e1f8d4f28b570187e5dd4c1759;p=static-encrypt Trim whitespace --- diff --git a/template.html b/template.html index bcc793c..0e587ee 100644 --- a/template.html +++ b/template.html @@ -30,7 +30,7 @@ e.preventDefault(); const password = new FormData(e.target).get('password'); const newDocument = await decrypt(content, password); - + document.open(); document.write(newDocument); document.close();