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