Skip to content
Snippets Groups Projects
Unverified Commit ebfcbbff authored by Brendan Abolivier's avatar Brendan Abolivier
Browse files

Use innerText instead of innerHTML

parent 0de9f948
No related branches found
No related tags found
No related merge requests found
...@@ -37,7 +37,8 @@ ...@@ -37,7 +37,8 @@
// to print one. // to print one.
let errorDesc = new URLSearchParams(searchStr).get("error_description") let errorDesc = new URLSearchParams(searchStr).get("error_description")
if (errorDesc) { if (errorDesc) {
document.getElementById("errormsg").innerHTML = ` ("${errorDesc}")`;
document.getElementById("errormsg").innerText = ` ("${errorDesc}")`;
} }
</script> </script>
</body> </body>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment