react-lib-escape-text-content-for-browser
v1.0.0
Published
Escapes text to prevent scripting attacks.
Downloads
356
Maintainers
Readme
escapeTextContentForBrowser
Escapes text to prevent scripting attacks.
@param {*} text Text value to escape. @return {string} An escaped string.