1 /** Used to map characters to HTML entities. */
12 * Used by `_.escape` to convert characters to HTML entities.
15 * @param {string} chr The matched character to escape.
16 * @returns {string} Returns the escaped character.
18 function escapeHtmlChar(chr) {
19 return htmlEscapes[chr];
22 module.exports = escapeHtmlChar;