Potential fix for code scanning alert no. 2: DOM text reinterpreted as HTML

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
This commit is contained in:
KoalaDev
2026-06-02 07:51:01 +02:00
committed by GitHub
parent 2f11c60307
commit 014169f84e
+1 -1
View File
@@ -555,7 +555,7 @@ document.addEventListener('DOMContentLoaded', () => {
const user = this.getAttribute('data-user');
const domain = this.getAttribute('data-domain');
if (user && domain) {
this.innerHTML = `${user}@${domain}`;
this.textContent = `${user}@${domain}`;
}
});
});