From 2bb90c7c89ff4858c2de437fb25779638b196817 Mon Sep 17 00:00:00 2001 From: ThatLinuxFan <9904667+NodeMixaholic@users.noreply.github.com> Date: Mon, 22 Jan 2024 18:38:15 -0600 Subject: [PATCH] fix issues with XSS --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 08c4744..09e28fd 100644 --- a/index.html +++ b/index.html @@ -30,7 +30,7 @@ const splText = template.replace('FULL-NUMERIC-YEAR', fullNumericYear).replace('YOUR-REAL-NAME-OR-ORG', name); // Set the body content to the generated SPL text - document.body.innerHTML = `
${splText}`; + document.body.innerText = `${splText}`; }) .catch(error => console.error('Error fetching SPL template:', error)); }