Files
frontend-app-authoring/src/editors/sharedComponents/CodeEditor/constants.js
Jesper Hodge 2c6679fe06 Feat raw olx editing. TNL-10218 (#182)
* refactor: move CodeEditor to shared components and remove circular dependency

* feat: add code editor to problem editor

* fix: typo

* feat: add save function to raw olx editor and add highlighting

* feat: simplify and add tests to edit problem view

* feat: add tests to problem edit view

* fix: update raw editor tests

* fix: code editor tests

* fix: package-lock

* fix: lint
2023-01-11 14:23:06 -05:00

37 lines
616 B
JavaScript
Raw 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.
// HTML symbols to unescape in a Alphanumeric value : Literal mapping.
const alphanumericMap = {
cent: '¢',
pound: '£',
sect: '§',
copy: '©',
laquo: '«',
raquo: '»',
reg: '®',
deg: '°',
plusmn: '±',
para: '¶',
middot: '·',
frac12: '½',
mdash: '—',
ndash: '',
lsquo: '',
rsquo: '',
sbquo: '',
rdquo: '”',
ldquo: '“',
dagger: '†',
Dagger: '‡',
bull: '•',
hellip: '…',
prime: '',
Prime: '″',
euro: '€',
trade: '™',
asymp: '≈',
ne: '≠',
le: '≤',
ge: '≥',
quot: '"',
};
export default alphanumericMap;