Closed Shivam7-1 closed 5 months ago
Hi @12wrigja Could You Please Review This PR Thanks
Please see https://github.com/google/closure-library/issues/1214.
TL;DR: Closure Library is in maintenance mode, and we aren't accepting PRs at this time that aren't considered critical.
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.