Sha256: 39f416c25d42f786694256f99d466d239c6386f72d1837723f3b5cac585fe90c
Contents?: true
Size: 493 Bytes
Versions: 273
Compression:
Stored size: 493 Bytes
Contents
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;
Version data entries
273 entries across 271 versions & 29 rubygems