htmlEntities.js 304 B

12345678910111213141516171819
  1. /*
  2. We're explicitly defining the list of entities that might see in escape HTML strings
  3. */
  4. var htmlEntities = {
  5. nbsp: ' ',
  6. cent: '¢',
  7. pound: '£',
  8. yen: '¥',
  9. euro: '€',
  10. copy: '©',
  11. reg: '®',
  12. lt: '<',
  13. gt: '>',
  14. quot: '"',
  15. amp: '&',
  16. apos: '\''
  17. };
  18. module.exports = htmlEntities;