function escapeHtmlChar(match) {
    return htmlEscapes[match];
  }
Used by `escape` to convert characters to HTML entities.

@private
@param {String} match The matched character to escape.
@returns {String} Returns the escaped character.