Fix another funny xss thing (not tested sinve since im bisexual 💀)

This commit is contained in:
celestora 2023-02-10 08:50:21 +02:00 committed by GitHub
parent cf558d57c5
commit cee1b4c8c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,7 +16,8 @@ function _bsdnToHumanTime(time) {
}
function _bsdnTpl(name, author) {
name = escapeHtml(name);
name = escapeHtml(name);
author = escapeHtml(author);
return `
<div class="bsdn_contextMenu" style="display: none;">