Urara-Blog/node_modules/.pnpm-store/v3/files/08/9ec2b60bebc196739e73f2fae63603604fc7f23a955eb29a3febec227ba2f14b0891fd1c3f56b4ff230804a1378fc4c32febf8790bbcc2c46435ad3e4cdf3e
2022-08-14 01:14:53 +08:00

21 lines
493 B
Text

var basePropertyOf = require('./_basePropertyOf');
/** Used to map HTML entities to characters. */
var htmlUnescapes = {
'&': '&',
'&lt;': '<',
'&gt;': '>',
'&quot;': '"',
'&#39;': "'"
};
/**
* 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;