/**
* @author n1474335 [n1474335@gmail.com]
* @copyright Crown Copyright 2016
* @license Apache-2.0
*/
import Operation from "../Operation";
import Utils from "../Utils";
/**
* To HTML Entity operation
*/
class ToHTMLEntity extends Operation {
/**
* ToHTMLEntity constructor
*/
constructor() {
super();
this.name = "To HTML Entity";
this.module = "Encodings";
this.description = "Converts characters to HTML entities
e.g. &
becomes &
";
this.infoURL = "https://wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references";
this.inputType = "string";
this.outputType = "string";
this.args = [
{
"name": "Convert all characters",
"type": "boolean",
"value": false
},
{
"name": "Convert to",
"type": "option",
"value": ["Named entities", "Numeric entities", "Hex entities"]
}
];
}
/**
* @param {string} input
* @param {Object[]} args
* @returns {string}
*/
run(input, args) {
const convertAll = args[0],
numeric = args[1] === "Numeric entities",
hexa = args[1] === "Hex entities";
const charcodes = Utils.strToCharcode(input);
let output = "";
for (let i = 0; i < charcodes.length; i++) {
if (convertAll && numeric) {
output += "" + charcodes[i] + ";";
} else if (convertAll && hexa) {
output += "" + Utils.hex(charcodes[i]) + ";";
} else if (convertAll) {
output += byteToEntity[charcodes[i]] || "" + charcodes[i] + ";";
} else if (numeric) {
if (charcodes[i] > 255 || byteToEntity.hasOwnProperty(charcodes[i])) {
output += "" + charcodes[i] + ";";
} else {
output += Utils.chr(charcodes[i]);
}
} else if (hexa) {
if (charcodes[i] > 255 || byteToEntity.hasOwnProperty(charcodes[i])) {
output += "" + Utils.hex(charcodes[i]) + ";";
} else {
output += Utils.chr(charcodes[i]);
}
} else {
output += byteToEntity[charcodes[i]] || (
charcodes[i] > 255 ?
"" + charcodes[i] + ";" :
Utils.chr(charcodes[i])
);
}
}
return output;
}
}
/**
* Lookup table to translate byte values to their HTML entity codes.
*/
const byteToEntity = {
9: "	",
10: "
",
33: "!",
34: """,
35: "#",
36: "$",
37: "%",
38: "&",
39: "'",
40: "(",
41: ")",
42: "*",
43: "+",
44: ",",
46: ".",
47: "/",
58: ":",
59: ";",
60: "<",
61: "=",
62: ">",
63: "?",
64: "@",
91: "[",
92: "\",
93: "]",
94: "^",
95: "_",
96: "`",
123: "{",
124: "|",
125: "}",
160: " ",
161: "¡",
162: "¢",
163: "£",
164: "¤",
165: "¥",
166: "¦",
167: "§",
168: "¨",
169: "©",
170: "ª",
171: "«",
172: "¬",
173: "",
174: "®",
175: "¯",
176: "°",
177: "±",
178: "²",
179: "³",
180: "´",
181: "µ",
182: "¶",
183: "·",
184: "¸",
185: "¹",
186: "º",
187: "»",
188: "¼",
189: "½",
190: "¾",
191: "¿",
192: "À",
193: "Á",
194: "Â",
195: "Ã",
196: "Ä",
197: "Å",
198: "Æ",
199: "Ç",
200: "È",
201: "É",
202: "Ê",
203: "Ë",
204: "Ì",
205: "Í",
206: "Î",
207: "Ï",
208: "Ð",
209: "Ñ",
210: "Ò",
211: "Ó",
212: "Ô",
213: "Õ",
214: "Ö",
215: "×",
216: "Ø",
217: "Ù",
218: "Ú",
219: "Û",
220: "Ü",
221: "Ý",
222: "Þ",
223: "ß",
224: "à",
225: "á",
226: "â",
227: "ã",
228: "ä",
229: "å",
230: "æ",
231: "ç",
232: "è",
233: "é",
234: "ê",
235: "ë",
236: "ì",
237: "í",
238: "î",
239: "ï",
240: "ð",
241: "ñ",
242: "ò",
243: "ó",
244: "ô",
245: "õ",
246: "ö",
247: "÷",
248: "ø",
249: "ù",
250: "ú",
251: "û",
252: "ü",
253: "ý",
254: "þ",
255: "ÿ",
256: "Ā",
257: "ā",
258: "Ă",
259: "ă",
260: "Ą",
261: "ą",
262: "Ć",
263: "ć",
264: "Ĉ",
265: "ĉ",
266: "Ċ",
267: "ċ",
268: "Č",
269: "č",
270: "Ď",
271: "ď",
272: "Đ",
273: "đ",
274: "Ē",
275: "ē",
278: "Ė",
279: "ė",
280: "Ę",
281: "ę",
282: "Ě",
283: "ě",
284: "Ĝ",
285: "ĝ",
286: "Ğ",
287: "ğ",
288: "Ġ",
289: "ġ",
290: "Ģ",
292: "Ĥ",
293: "ĥ",
294: "Ħ",
295: "ħ",
296: "Ĩ",
297: "ĩ",
298: "Ī",
299: "ī",
302: "Į",
303: "į",
304: "İ",
305: "ı",
306: "IJ",
307: "ij",
308: "Ĵ",
309: "ĵ",
310: "Ķ",
311: "ķ",
312: "ĸ",
313: "Ĺ",
314: "ĺ",
315: "Ļ",
316: "ļ",
317: "Ľ",
318: "ľ",
319: "Ŀ",
320: "ŀ",
321: "Ł",
322: "ł",
323: "Ń",
324: "ń",
325: "Ņ",
326: "ņ",
327: "Ň",
328: "ň",
329: "ʼn",
330: "Ŋ",
331: "ŋ",
332: "Ō",
333: "ō",
336: "Ő",
337: "ő",
338: "Œ",
339: "œ",
340: "Ŕ",
341: "ŕ",
342: "Ŗ",
343: "ŗ",
344: "Ř",
345: "ř",
346: "Ś",
347: "ś",
348: "Ŝ",
349: "ŝ",
350: "Ş",
351: "ş",
352: "Š",
353: "š",
354: "Ţ",
355: "ţ",
356: "Ť",
357: "ť",
358: "Ŧ",
359: "ŧ",
360: "Ũ",
361: "ũ",
362: "Ū",
363: "ū",
364: "Ŭ",
365: "ŭ",
366: "Ů",
367: "ů",
368: "Ű",
369: "ű",
370: "Ų",
371: "ų",
372: "Ŵ",
373: "ŵ",
374: "Ŷ",
375: "ŷ",
376: "Ÿ",
377: "Ź",
378: "ź",
379: "Ż",
380: "ż",
381: "Ž",
382: "ž",
402: "ƒ",
437: "Ƶ",
501: "ǵ",
567: "ȷ",
710: "ˆ",
711: "ˇ",
728: "˘",
729: "˙",
730: "˚",
731: "˛",
732: "˜",
785: "̑",
818: "_",
913: "Α",
914: "Β",
915: "Γ",
916: "Δ",
917: "Ε",
918: "Ζ",
919: "Η",
920: "Θ",
921: "Ι",
922: "Κ",
923: "Λ",
924: "Μ",
925: "Ν",
926: "Ξ",
927: "Ο",
928: "Π",
929: "Ρ",
931: "Σ",
932: "Τ",
933: "Υ",
934: "Φ",
935: "Χ",
936: "Ψ",
937: "Ω",
945: "α",
946: "β",
947: "γ",
948: "δ",
949: "ε",
950: "ζ",
951: "η",
952: "θ",
953: "ι",
954: "κ",
955: "λ",
956: "μ",
957: "ν",
958: "ξ",
959: "ο",
960: "π",
961: "ρ",
962: "ς",
963: "σ",
964: "τ",
965: "υ",
966: "φ",
967: "χ",
968: "ψ",
969: "ω",
977: "ϑ",
978: "ϒ",
981: "ϕ",
982: "ϖ",
988: "Ϝ",
989: "ϝ",
1008: "ϰ",
1009: "ϱ",
1013: "ε,",
1014: "϶",
1025: "Ё",
1026: "Ђ",
1027: "Ѓ",
1028: "Є",
1029: "Ѕ",
1030: "І",
1031: "Ї",
1032: "Ј",
1033: "Љ",
1034: "Њ",
1035: "Ћ",
1036: "Ќ",
1038: "Ў",
1039: "Џ",
1040: "А",
1041: "Б",
1042: "В",
1043: "Г",
1044: "Д",
1045: "Е",
1046: "Ж",
1047: "З",
1048: "И",
1049: "Й",
1050: "К",
1051: "Л",
1052: "М",
1053: "Н",
1054: "О",
1055: "П",
1056: "Р",
1057: "С",
1058: "Т",
1059: "У",
1060: "Ф",
1061: "Х",
1062: "Ц",
1063: "Ч",
1064: "Ш",
1065: "Щ",
1066: "Ъ",
1067: "Ы",
1068: "Ь",
1069: "Э",
1070: "Ю",
1071: "Я",
1072: "а",
1073: "б",
1074: "в",
1075: "г",
1076: "д",
1077: "е",
1078: "ж",
1079: "з",
1080: "и",
1081: "й",
1082: "к",
1083: "л",
1084: "м",
1085: "н",
1086: "о",
1087: "п",
1088: "р",
1089: "с",
1090: "т",
1091: "у",
1092: "ф",
1093: "х",
1094: "ц",
1095: "ч",
1096: "ш",
1097: "щ",
1098: "ъ",
1099: "ы",
1100: "ь",
1101: "э",
1102: "ю",
1103: "я",
1105: "ё",
1106: "ђ",
1107: "ѓ",
1108: "є",
1109: "ѕ",
1110: "і",
1111: "ї",
1112: "ј",
1113: "љ",
1114: "њ",
1115: "ћ",
1116: "ќ",
1118: "ў",
1119: "џ",
8194: " ",
8195: " ",
8196: " ",
8197: " ",
8199: " ",
8200: " ",
8201: " ",
8202: " ",
8203: "​",
8204: "",
8205: "",
8206: "",
8207: "",
8208: "‐",
8211: "–",
8212: "—",
8213: "―",
8214: "‖",
8216: "‘",
8217: "’",
8218: "‚",
8220: "“",
8221: "”",
8222: "„",
8224: "†",
8225: "‡",
8226: "•",
8229: "‥",
8230: "…",
8240: "‰",
8241: "‱",
8242: "′",
8243: "″",
8244: "‴",
8245: "‵",
8249: "‹",
8250: "›",
8254: "‾",
8257: "⁁",
8259: "⁃",
8260: "⁄",
8271: "⁏",
8279: "⁗",
8287: " ",
8288: "⁠",
8289: "⁡",
8290: "⁢",
8291: "⁣",
8364: "€",
8411: "⃛",
8412: "⃜",
8450: "ℂ",
8453: "℅",
8458: "ℊ",
8459: "ℋ",
8460: "ℌ",
8461: "ℍ",
8462: "ℎ",
8463: "ℏ",
8464: "ℐ",
8465: "ℑ",
8466: "ℒ",
8467: "ℓ",
8469: "ℕ",
8470: "№",
8471: "℗",
8472: "℘",
8473: "ℙ",
8474: "ℚ",
8475: "ℛ",
8476: "ℜ",
8477: "ℝ",
8478: "℞",
8482: "™",
8484: "ℤ",
8486: "Ω",
8487: "℧",
8488: "ℨ",
8489: "℩",
8491: "Å",
8492: "ℬ",
8493: "ℭ",
8495: "ℯ",
8496: "ℰ",
8497: "ℱ",
8499: "ℳ",
8500: "ℴ",
8501: "ℵ",
8502: "ℶ",
8503: "ℷ",
8504: "ℸ",
8517: "ⅅ",
8518: "ⅆ",
8519: "ⅇ",
8520: "ⅈ",
8531: "⅓",
8532: "⅔",
8533: "⅕",
8534: "⅖",
8535: "⅗",
8536: "⅘",
8537: "⅙",
8538: "⅚",
8539: "⅛",
8540: "⅜",
8541: "⅝",
8542: "⅞",
8592: "←",
8593: "↑",
8594: "→",
8595: "↓",
8596: "↔",
8597: "↕",
8598: "↖",
8599: "↗",
8600: "↘",
8601: "↙",
8602: "↚",
8603: "↛",
8605: "↝",
8606: "↞",
8607: "↟",
8608: "↠",
8609: "↡",
8610: "↢",
8611: "↣",
8612: "↤",
8613: "↥",
8614: "↦",
8615: "↧",
8617: "↩",
8618: "↪",
8619: "↫",
8620: "↬",
8621: "↭",
8622: "↮",
8624: "↰",
8625: "↱",
8626: "↲",
8627: "↳",
8629: "↵",
8630: "↶",
8631: "↷",
8634: "↺",
8635: "↻",
8636: "↼",
8637: "↽",
8638: "↾",
8639: "↿",
8640: "⇀",
8641: "⇁",
8642: "⇂",
8643: "⇃",
8644: "⇄",
8645: "⇅",
8646: "⇆",
8647: "⇇",
8648: "⇈",
8649: "⇉",
8650: "⇊",
8651: "⇋",
8652: "⇌;",
8653: "⇍",
8654: "⇎",
8655: "⇏",
8656: "⇐",
8657: "⇑",
8658: "⇒",
8659: "⇓",
8660: "⇔",
8661: "⇕",
8662: "⇖",
8663: "⇗",
8664: "⇘",
8665: "⇙",
8666: "⇚",
8667: "⇛",
8669: "⇝",
8676: "⇤",
8677: "⇥",
8693: "⇵",
8701: "⇽",
8702: "⇾",
8703: "⇿",
8704: "∀",
8705: "∁",
8706: "∂",
8707: "∃",
8708: "∄",
8709: "∅",
8711: "∇",
8712: "∈",
8713: "∉",
8715: "∋",
8716: "∌",
8719: "∏",
8720: "∐",
8721: "∑",
8722: "−",
8723: "∓",
8724: "∔",
8726: "∖",
8727: "∗",
8728: "∘",
8730: "√",
8733: "∝",
8734: "∞",
8735: "∟",
8736: "∠",
8737: "∡",
8738: "∢",
8739: "∣",
8740: "∤",
8741: "∥",
8742: "∦",
8743: "∧",
8744: "∨",
8745: "∩",
8746: "∪",
8747: "∫",
8748: "∬",
8749: "∭",
8750: "∮",
8751: "∯",
8752: "∰",
8753: "∱",
8754: "∲",
8755: "∳",
8756: "∴",
8757: "∵",
8758: "∶",
8759: "∷",
8760: "∸",
8762: "∺",
8763: "∻",
8764: "∼",
8765: "∽",
8766: "∾",
8767: "∿",
8768: "≀",
8769: "≁",
8770: "≂",
8771: "≃",
8772: "≄",
8773: "≅",
8774: "≆",
8775: "≇",
8776: "≈",
8777: "≉",
8778: "≊",
8779: "≋",
8780: "≌",
8781: "≍",
8782: "≎",
8783: "≏",
8784: "≐",
8785: "≑",
8786: "≒",
8787: "≓",
8788: "≔",
8789: "≕",
8790: "≖",
8791: "≗",
8793: "≙",
8794: "≚",
8796: "≜",
8799: "≟",
8800: "≠",
8801: "≡",
8802: "≢",
8804: "≤",
8805: "≥",
8806: "≦",
8807: "≧",
8808: "≨",
8809: "≩",
8810: "≪",
8811: "≫",
8812: "≬",
8813: "≭",
8814: "≮",
8815: "≯",
8816: "≰",
8817: "≱;",
8818: "≲",
8819: "≳",
8820: "≴",
8821: "≵",
8822: "≶",
8823: "≷",
8824: "≸",
8825: "≹",
8826: "≺",
8827: "≻",
8828: "≼",
8829: "≽",
8830: "≾",
8831: "≿",
8832: "⊀",
8833: "⊁",
8834: "⊂",
8835: "⊃",
8836: "⊄",
8837: "⊅",
8838: "⊆",
8839: "⊇",
8840: "⊈",
8841: "⊉",
8842: "⊊",
8843: "⊋",
8845: "⊍",
8846: "⊎",
8847: "⊏",
8848: "⊐",
8849: "⊑",
8850: "⊒",
8851: "⊓",
8852: "⊔",
8853: "⊕",
8854: "⊖",
8855: "⊗",
8856: "⊘",
8857: "⊙",
8858: "⊚",
8859: "⊛",
8861: "⊝",
8862: "⊞",
8863: "⊟",
8864: "⊠",
8865: "⊡",
8866: "⊢",
8867: "⊣",
8868: "⊤",
8869: "⊥",
8871: "⊧",
8872: "⊨",
8873: "⊩",
8874: "⊪",
8875: "⊫",
8876: "⊬",
8877: "⊭",
8878: "⊮",
8879: "⊯",
8880: "⊰",
8882: "⊲",
8883: "⊳",
8884: "⊴",
8885: "⊵",
8886: "⊶",
8887: "⊷",
8888: "⊸",
8889: "⊹",
8890: "⊺",
8891: "⊻",
8893: "⊽",
8894: "⊾",
8895: "⊿",
8896: "⋀",
8897: "⋁",
8898: "⋂",
8899: "⋃",
8900: "⋄",
8901: "⋅",
8902: "⋆",
8903: "⋇",
8904: "⋈",
8905: "⋉",
8906: "⋊",
8907: "⋋",
8908: "⋌",
8909: "⋍",
8910: "⋎",
8911: "⋏",
8912: "⋐",
8913: "⋑",
8914: "⋒",
8915: "⋓",
8916: "⋔",
8917: "⋕",
8918: "⋖",
8919: "⋗",
8920: "⋘",
8921: "⋙",
8922: "⋚",
8923: "⋛",
8926: "⋞",
8927: "⋟",
8928: "⋠",
8929: "⋡",
8930: "⋢",
8931: "⋣",
8934: "⋦",
8935: "⋧",
8936: "⋨",
8937: "⋩",
8938: "⋪",
8939: "⋫",
8940: "⋬",
8941: "⋭",
8942: "⋮",
8943: "⋯",
8944: "⋰",
8945: "⋱",
8946: "⋲",
8947: "⋳",
8948: "⋴",
8949: "⋵",
8950: "⋶",
8951: "⋷",
8953: "⋹",
8954: "⋺",
8955: "⋻",
8956: "⋼",
8957: "⋽",
8958: "⋾",
8965: "⌅",
8966: "⌆",
8968: "⌈",
8969: "⌉",
8970: "⌊",
8971: "⌋",
8972: "⌌",
8973: "⌍",
8974: "⌎",
8975: "⌏",
8976: "⌐",
8978: "⌒",
8979: "⌓",
8981: "⌕",
8982: "⌖",
8988: "⌜",
8989: "⌝",
8990: "⌞",
8991: "⌟",
8994: "⌢",
8995: "⌣",
9001: "〈",
9002: "〉",
9005: "⌭",
9006: "⌮",
9014: "⌶",
9021: "⌽",
9023: "⌿",
9084: "⍼",
9136: "⎰",
9137: "⎱",
9140: "⎴",
9141: "⎵",
9142: "⎶",
9180: "⏜",
9181: "⏝",
9182: "⏞",
9183: "⏟",
9186: "⏢",
9191: "⏧",
9251: "␣",
9416: "Ⓢ",
9472: "─",
9474: "│",
9484: "┌",
9488: "┐",
9492: "└",
9496: "┘",
9500: "├",
9508: "┤",
9516: "┬",
9524: "┴",
9532: "┼",
9552: "═",
9553: "║",
9554: "╒",
9555: "╓",
9556: "╔",
9557: "╕",
9558: "╖",
9559: "╗",
9560: "╘",
9561: "╙",
9562: "╚",
9563: "╛",
9564: "╜",
9565: "╝",
9566: "╞",
9567: "╟",
9568: "╠",
9569: "╡",
9570: "╢",
9571: "╣",
9572: "╤",
9573: "╥",
9674: "◊",
9675: "○",
9708: "◬",
9711: "◯",
9720: "◸",
9721: "◹",
9722: "◺",
9723: "◻",
9724: "◼",
9733: "★",
9734: "☆",
9742: "☎",
9792: "♀",
9794: "♂",
9824: "♠",
9827: "♣",
9829: "♥",
9830: "♦",
9834: "♪",
9837: "♭",
9838: "♮",
9839: "♯",
10003: "✓",
10007: "✗",
10016: "✠",
10038: "✶",
10072: "❘",
10098: "❲",
10099: "❳",
10214: "⟦",
10215: "⟧",
10216: "〈",
10217: "〉",
10218: "⟪",
10219: "⟫",
10220: "⟬",
10221: "⟭",
10229: "⟵",
10230: "⟶",
10231: "⟷",
10232: "⟸",
10233: "⟹",
10234: "⟺",
10236: "⟼",
10239: "⟿",
10498: "⤂",
10499: "⤃",
10500: "⤄",
10501: "⤅",
10508: "⤌",
10509: "⤍",
10510: "⤎",
10511: "⤏",
10512: "⤐",
10513: "⤑",
10514: "⤒",
10515: "⤓",
10518: "⤖",
10521: "⤙",
10522: "⤚",
10523: "⤛",
10524: "⤜",
10525: "⤝",
10526: "⤞",
10527: "⤟",
10528: "⤠",
10531: "⤣",
10532: "⤤",
10533: "⤥",
10534: "⤦",
10535: "⤧",
10536: "⤨",
10537: "⤩",
10538: "⤪",
10547: "⤳",
10549: "⤵",
10550: "⤶",
10551: "⤷",
10552: "⤸",
10553: "⤹",
10556: "⤼",
10557: "⤽",
10565: "⥅",
10568: "⥈",
10569: "⥉",
10570: "⥊",
10571: "⥋",
10574: "⥎",
10575: "⥏",
10576: "⥐",
10577: "⥑",
10578: "⥒",
10579: "⥓",
10580: "⥔",
10581: "⥕",
10582: "⥖",
10583: "⥗",
10584: "⥘",
10585: "⥙",
10586: "⥚",
10587: "⥛",
10588: "⥜",
10589: "⥝",
10590: "⥞",
10591: "⥟",
10592: "⥠",
10593: "⥡",
10594: "⥢",
10595: "⥣",
10596: "⥤",
10597: "⥥",
10598: "⥦",
10599: "⥧",
10600: "⥨",
10601: "⥩",
10602: "⥪",
10603: "⥫",
10604: "⥬",
10605: "⥭",
10606: "⥮",
10607: "⥯",
10608: "⥰",
10609: "⥱",
10610: "⥲",
10611: "⥳",
10612: "⥴",
10613: "⥵",
10614: "⥶",
10616: "⥸",
10617: "⥹",
10619: "⥻",
10620: "⥼",
10621: "⥽",
10622: "⥾",
10623: "⥿",
10629: "⦅",
10630: "⦆",
10635: "⦋",
10636: "⦌",
10637: "⦍",
10638: "⦎",
10639: "⦏",
10640: "⦐",
10641: "⦑",
10642: "⦒",
10643: "⦓",
10644: "⦔",
10645: "⦕",
10646: "⦖",
10650: "⦚",
10652: "⦜",
10653: "⦝",
10660: "⦤",
10661: "⦥",
10662: "⦦",
10663: "⦧",
10664: "⦨",
10665: "⦩",
10666: "⦪",
10667: "⦫",
10668: "⦬",
10669: "⦭",
10670: "⦮",
10671: "⦯",
10672: "⦰",
10673: "⦱",
10674: "⦲",
10675: "⦳",
10676: "⦴",
10677: "⦵",
10678: "⦶",
10679: "⦷",
10681: "⦹",
10683: "⦻",
10684: "⦼",
10686: "⦾",
10687: "⦿",
10688: "⧀",
10689: "⧁",
10690: "⧂",
10691: "⧃",
10692: "⧄",
10693: "⧅",
10697: "⧉",
10701: "⧍",
10702: "⧎",
10703: "⧏",
10704: "⧐",
10714: "∽̱",
10716: "⧜",
10717: "⧝",
10718: "⧞",
10723: "⧣",
10724: "⧤",
10725: "⧥",
10731: "⧫",
10740: "⧴",
10742: "⧶",
10752: "⨀",
10753: "⨁",
10754: "⨂",
10756: "⨄",
10758: "⨆",
10764: "⨌",
10765: "⨍",
10768: "⨐",
10769: "⨑",
10770: "⨒",
10771: "⨓",
10772: "⨔",
10773: "⨕",
10774: "⨖",
10775: "⨗",
10786: "⨢",
10787: "⨣",
10788: "⨤",
10789: "⨥",
10790: "⨦",
10791: "⨧",
10793: "⨩",
10794: "⨪",
10797: "⨭",
10798: "⨮",
10799: "⨯",
10800: "⨰",
10801: "⨱",
10803: "⨳",
10804: "⨴",
10805: "⨵",
10806: "⨶",
10807: "⨷",
10808: "⨸",
10809: "⨹",
10810: "⨺",
10811: "⨻",
10812: "⨼",
10815: "⨿",
10816: "⩀",
10818: "⩂",
10819: "⩃",
10820: "⩄",
10821: "⩅",
10822: "⩆",
10823: "⩇",
10824: "⩈",
10825: "⩉",
10826: "⩊",
10827: "⩋",
10828: "⩌",
10829: "⩍",
10832: "⩐",
10835: "⩓",
10836: "⩔",
10837: "⩕",
10838: "⩖",
10839: "⩗",
10840: "⩘",
10842: "⩚",
10843: "⩛",
10844: "⩜",
10845: "⩝",
10847: "⩟",
10854: "⩦",
10858: "⩪",
10861: "⩭",
10862: "⩮",
10863: "⩯",
10864: "⩰",
10865: "⩱",
10866: "⩲",
10867: "⩳",
10868: "⩴",
10869: "⩵",
10871: "⩷",
10872: "⩸",
10873: "⩹",
10874: "⩺",
10875: "⩻",
10876: "⩼",
10877: "⩽",
10878: "⩾",
10879: "⩿",
10880: "⪀",
10881: "⪁",
10882: "⪂",
10883: "⪃",
10884: "⪄",
10885: "⪅",
10886: "⪆",
10887: "⪇",
10888: "⪈",
10889: "⪉",
10890: "⪊",
10891: "⪋",
10892: "⪌",
10893: "⪍",
10894: "⪎",
10895: "⪏",
10896: "⪐",
10897: "⪑",
10898: "⪒",
10899: "⪓",
10900: "⪔",
10901: "⪕",
10902: "⪖",
10903: "⪗",
10904: "⪘",
10905: "⪙",
10906: "⪚",
10909: "⪝",
10910: "⪞",
10911: "⪟",
10912: "⪠",
10913: "⪡",
10914: "⪢",
10916: "⪤",
10917: "⪥",
10918: "⪦",
10919: "⪧",
10920: "⪨",
10921: "⪩",
10922: "⪪",
10923: "⪫",
10924: "⪬",
10925: "⪭",
10926: "⪮",
10927: "⪯",
10928: "⪰",
10931: "⪳",
10932: "⪴",
10933: "⪵",
10934: "⪶",
10935: "⪷",
10936: "⪸",
10937: "⪹",
10938: "⪺",
10939: "⪻",
10940: "⪼",
10941: "⪽",
10942: "⪾",
10943: "⪿",
10944: "⫀",
10945: "⫁",
10946: "⫂",
10947: "⫃",
10948: "⫄",
10949: "⫅",
10950: "⫆",
10951: "⫇",
10952: "⫈",
10955: "⫋",
10956: "⫌",
10959: "⫏",
10960: "⫐",
10961: "⫑",
10962: "⫒",
10963: "⫓",
10964: "⫔",
10965: "⫕",
10966: "⫖",
10967: "⫗",
10968: "⫘",
10969: "⫙",
10970: "⫚",
10971: "⫛",
10980: "⫤",
10982: "⫦",
10983: "⫧",
10984: "⫨",
10985: "⫩",
10987: "⫫",
10988: "⫬",
10989: "⫭",
10990: "⫮",
10991: "⫯",
10992: "⫰",
10993: "⫱",
10994: "⫲",
10995: "⫳",
11005: "⫽",
64256: "ff",
64257: "fi",
64258: "fl",
64259: "ffi",
64260: "ffl",
119964: "𝒜",
119966: "𝒞",
119967: "𝒟",
119970: "𝒢",
119973: "𝒥",
119974: "𝒦",
119977: "𝒩",
119978: "𝒪",
119979: "𝒫",
119980: "𝒬",
119982: "𝒮",
119983: "𝒯",
119984: "𝒰",
119985: "𝒱",
119986: "𝒲",
119987: "𝒳",
119988: "𝒴",
119989: "𝒵",
119990: "𝒶",
119991: "𝒷",
119992: "𝒸",
119993: "𝒹",
119995: "𝒻",
119997: "𝒽",
119998: "𝒾",
119999: "𝒿",
120000: "𝓀",
120001: "𝓁",
120002: "𝓂",
120003: "𝓃",
120005: "𝓅",
120006: "𝓆",
120007: "𝓇",
120008: "𝓈",
120009: "𝓉",
120010: "𝓊",
120011: "𝓋",
120012: "𝓌",
120013: "𝓍",
120014: "𝓎",
120015: "𝓏",
120068: "𝔄",
120069: "𝔅",
120071: "𝔇",
120072: "𝔈",
120073: "𝔉",
120074: "𝔊",
120077: "𝔍",
120078: "𝔎",
120079: "𝔏",
120080: "𝔐",
120081: "𝔑",
120082: "𝔒",
120083: "𝔓",
120084: "𝔔",
120086: "𝔖",
120087: "𝔗",
120088: "𝔘",
120089: "𝔙",
120090: "𝔚",
120091: "𝔛",
120092: "𝔜",
120094: "𝔞",
120095: "𝔟",
120096: "𝔠",
120097: "𝔡",
120098: "𝔢",
120099: "𝔣",
120100: "𝔤",
120101: "𝔥",
120102: "𝔦",
120103: "𝔧",
120104: "𝔨",
120105: "𝔩",
120106: "𝔪",
120107: "𝔫",
120108: "𝔬",
120109: "𝔭",
120110: "𝔮",
120111: "𝔯",
120112: "𝔰",
120113: "𝔱",
120114: "𝔲",
120115: "𝔳",
120116: "𝔴",
120117: "𝔵",
120118: "𝔶",
120119: "𝔷",
120120: "𝔸",
120121: "𝔹",
120123: "𝔻",
120124: "𝔼",
120125: "𝔽",
120126: "𝔾",
120128: "𝕀",
120129: "𝕁",
120130: "𝕂",
120131: "𝕃",
120132: "𝕄",
120134: "𝕆",
120138: "𝕊",
120139: "𝕋",
120140: "𝕌",
120141: "𝕍",
120142: "𝕎",
120143: "𝕏",
120144: "𝕐",
120146: "𝕒",
120147: "𝕓",
120148: "𝕔",
120149: "𝕕",
120150: "𝕖",
120151: "𝕗",
120152: "𝕘",
120153: "𝕙",
120154: "𝕚",
120155: "𝕛",
120156: "𝕜",
120157: "𝕝",
120158: "𝕞",
120159: "𝕟",
120160: "𝕠",
120161: "𝕡",
120162: "𝕢",
120163: "𝕣",
120164: "𝕤",
120165: "𝕥",
120166: "𝕦",
120167: "𝕧",
120168: "𝕨",
120169: "𝕩",
120170: "𝕪",
120171: "𝕫"
};
export default ToHTMLEntity;