README
escapeTextContentForBrowser
Escapes text to prevent scripting attacks.
@param {*} text Text value to escape. @return {string} An escaped string.
Escapes text to prevent scripting attacks.
<script type="module">
import reactLibEscapeTextContentForBrowser from 'https://cdn.skypack.dev/react-lib-escape-text-content-for-browser';
</script>
Escapes text to prevent scripting attacks.
@param {*} text Text value to escape. @return {string} An escaped string.