Skip to content

Commit

Permalink
Update cross-site-scripting.md (dotnet#19861)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rick-Anderson authored Sep 15, 2020
1 parent 28cceb1 commit 0328087
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aspnetcore/security/cross-site-scripting.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ The preceding markup generates the following HTML:
injectedData.dataset.untrustedinput;
// Put the injected, untrusted data into the scriptedWrite div tag.
// Do NOT use document.write() on dynamically generated data as it can
// lead to XSS.
// Do NOT use document.write() on dynamically generated data as it can
// lead to XSS.
document.getElementById("scriptedWrite").innerText += clientSideUntrustedInputOldStyle;
Expand Down

0 comments on commit 0328087

Please sign in to comment.