* Escapes text to prevent scripting attacks. * * @param {*} text Text value to escape. * @return {string} An escaped string.
(text)
| 16402 | * @return {string} An escaped string. |
| 16403 | */ |
| 16404 | function escapeTextContentForBrowser(text) { |
| 16405 | return ('' + text).replace(ESCAPE_REGEX, escaper); |
| 16406 | } |
| 16407 | |
| 16408 | module.exports = escapeTextContentForBrowser; |
| 16409 | },{}],118:[function(_dereq_,module,exports){ |
no outgoing calls
no test coverage detected
searching dependent graphs…