%PDF- %PDF-
Direktori : /proc/self/root/lib/node_modules/pm2/node_modules/lodash/ |
Current File : //proc/self/root/lib/node_modules/pm2/node_modules/lodash/_unescapeHtmlChar.js |
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;