Files
aresv2/public/assets/lodash-es/_unescapeHtmlChar.js
Beyhan Oğur 4362c3b83f first commit
2026-04-26 21:33:39 +03:00

22 lines
491 B
JavaScript

import basePropertyOf from './_basePropertyOf.js';
/** 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);
export default unescapeHtmlChar;