index.js 558 B

1234567891011121314151617181920212223242526272829303132333435
  1. /**
  2. * Map of invalid numeric character references to their replacements, according to HTML.
  3. *
  4. * @type {Record<number, string>}
  5. */
  6. export const characterReferenceInvalid = {
  7. 0: '�',
  8. 128: '€',
  9. 130: '‚',
  10. 131: 'ƒ',
  11. 132: '„',
  12. 133: '…',
  13. 134: '†',
  14. 135: '‡',
  15. 136: 'ˆ',
  16. 137: '‰',
  17. 138: 'Š',
  18. 139: '‹',
  19. 140: 'Œ',
  20. 142: 'Ž',
  21. 145: '‘',
  22. 146: '’',
  23. 147: '“',
  24. 148: '”',
  25. 149: '•',
  26. 150: '–',
  27. 151: '—',
  28. 152: '˜',
  29. 153: '™',
  30. 154: 'š',
  31. 155: '›',
  32. 156: 'œ',
  33. 158: 'ž',
  34. 159: 'Ÿ'
  35. }