site/node_modules/character-reference-invalid/index.js
2024-10-14 08:09:33 +02:00

36 lines
558 B
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* 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: 'Ÿ'
}