Skip to content

Conversation

@Shivam7-1
Copy link

Description

By using textContent, it will avoid the risk of HTML injection, as these properties automatically escape any HTML special characters in the provided text. This helps prevent cross-site scripting (XSS) vulnerabilities by treating the input as plain text rather than interpreted HTML.

General

  • Ensure any links to pages aren't referenced in code (if there are changes to links)
  • Changes to the website have been verified via steps here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant