Merge pull request #5 from Shik3i/alert-autofix-2

Potential fix for code scanning alert no. 2: DOM text reinterpreted as HTML
This commit is contained in:
KoalaDev
2026-06-02 07:54:51 +02:00
committed by GitHub
+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}`;
}
});
});