fix: change innerHTML to trustedHTML
This commit is contained in:
@@ -127,7 +127,7 @@ function showErr(message) {
|
||||
});
|
||||
|
||||
const closeButton = document.createElement("span");
|
||||
closeButton.innerHTML = "×";
|
||||
closeButton.textContent = "×";
|
||||
|
||||
Object.assign(closeButton.style, {
|
||||
position: "absolute",
|
||||
|
||||
Reference in New Issue
Block a user