summaryrefslogtreecommitdiffstats
path: root/content/about
diff options
context:
space:
mode:
Diffstat (limited to 'content/about')
-rw-r--r--content/about/email.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/about/email.js b/content/about/email.js
index 02f3cee..72ac220 100644
--- a/content/about/email.js
+++ b/content/about/email.js
@@ -3,7 +3,7 @@
function emailDecode() {
const emailElement = document.querySelector("code.language-shell");
const emailB64 = emailElement.textContent.split('"')[1];
- const email = atob(emailB64);
+ const email = atob(emailB64).trim();
const mailto = `<a href="mailto:${email}">${email}</a>`;
emailElement.outerHTML = mailto;
}