forked from MirrorHub/synapse
Use innerText instead of innerHTML
This commit is contained in:
parent
0de9f9486a
commit
ebfcbbff9c
1 changed files with 2 additions and 1 deletions
|
@ -37,7 +37,8 @@
|
|||
// to print one.
|
||||
let errorDesc = new URLSearchParams(searchStr).get("error_description")
|
||||
if (errorDesc) {
|
||||
document.getElementById("errormsg").innerHTML = ` ("${errorDesc}")`;
|
||||
|
||||
document.getElementById("errormsg").innerText = ` ("${errorDesc}")`;
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
|
|
Loading…
Reference in a new issue