site/node_modules/character-reference-invalid/index.js

36 lines
558 B
JavaScript
Raw Permalink Normal View History

2024-10-14 06:09:33 +00:00
/**
* 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: 'Ÿ'
}