Bugfix/#38 unsafe assignment to innerhtml #45
1 changed files with 4 additions and 1 deletions
|
@ -65,7 +65,10 @@ function removeUnknownUsers(node) {
|
||||||
let profileData = upperDiv.innerHTML;
|
let profileData = upperDiv.innerHTML;
|
||||||
|
|
||||||
// exchange data
|
// exchange data
|
||||||
upperDiv.innerHTML = `<b>${anime}</b>`;
|
let bElement = document.createElement('b');
|
||||||
|
bElement.textContent = anime;
|
||||||
|
upperDiv.innerHTML = ``;
|
||||||
|
upperDiv.appendChild(bElement);
|
||||||
|
|
||||||
// add user note if own request
|
// add user note if own request
|
||||||
if (profileLink.length > 0) {
|
if (profileLink.length > 0) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue