2021-03-14 11:09:02 +01:00

12 lines
194 B
JavaScript

// Internal list of HTML entities for escaping.
var escapeMap = {
'&': '&',
'<': '&lt;',
'>': '&gt;',
'"': '&quot;',
"'": '&#x27;',
'`': '&#x60;'
};
module.exports = escapeMap;