mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-11 06:54:19 -05:00
Use innerText instead of innerHTML
This commit is contained in:
parent
0de9f9486a
commit
ebfcbbff9c
@ -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 New Issue
Block a user