36 lines
558 B
JavaScript
36 lines
558 B
JavaScript
/**
|
||
* Map of invalid numeric character references to their replacements, according to HTML.
|
||
*
|
||
* @type {Record<number, string>}
|
||
*/
|
||
export const characterReferenceInvalid = {
|
||
0: '<27>',
|
||
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: 'Ÿ'
|
||
}
|