diff options
author | Brendan Abolivier <babolivier@matrix.org> | 2020-03-13 19:09:22 +0000 |
---|---|---|
committer | Brendan Abolivier <babolivier@matrix.org> | 2020-03-13 19:09:22 +0000 |
commit | ebfcbbff9c75ee3e3009b04ba5388c33f2d7e8da (patch) | |
tree | d9ca160eeab7aa42e8d33a6473fe4f28a7312fcb /synapse/res/templates/saml_error.html | |
parent | Lint (diff) | |
download | synapse-ebfcbbff9c75ee3e3009b04ba5388c33f2d7e8da.tar.xz |
Use innerText instead of innerHTML
Diffstat (limited to 'synapse/res/templates/saml_error.html')
-rw-r--r-- | synapse/res/templates/saml_error.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/res/templates/saml_error.html b/synapse/res/templates/saml_error.html index 223d3a74bc..bfd6449c5d 100644 --- a/synapse/res/templates/saml_error.html +++ b/synapse/res/templates/saml_error.html @@ -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> |