diff options
Diffstat (limited to 'sandbox/testAppNevena/Front/node_modules/lodash/_unescapeHtmlChar.js')
-rw-r--r-- | sandbox/testAppNevena/Front/node_modules/lodash/_unescapeHtmlChar.js | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/sandbox/testAppNevena/Front/node_modules/lodash/_unescapeHtmlChar.js b/sandbox/testAppNevena/Front/node_modules/lodash/_unescapeHtmlChar.js new file mode 100644 index 00000000..a71fecb3 --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/lodash/_unescapeHtmlChar.js @@ -0,0 +1,21 @@ +var basePropertyOf = require('./_basePropertyOf'); + +/** Used to map HTML entities to characters. */ +var htmlUnescapes = { + '&': '&', + '<': '<', + '>': '>', + '"': '"', + ''': "'" +}; + +/** + * Used by `_.unescape` to convert HTML entities to characters. + * + * @private + * @param {string} chr The matched character to unescape. + * @returns {string} Returns the unescaped character. + */ +var unescapeHtmlChar = basePropertyOf(htmlUnescapes); + +module.exports = unescapeHtmlChar; |