mirror of
https://github.com/matrix-org/synapse.git
synced 2025-09-30 18:11:14 +02: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…
x
Reference in New Issue
Block a user