Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download
80684 views
1
var charByEntityName = {
2
'quot': '"',
3
'amp': '&',
4
'apos': '\'',
5
'lt': '<',
6
'gt': '>',
7
'nbsp': ' ',
8
'iexcl': '¡',
9
'cent': '¢',
10
'pound': '£',
11
'curren': '¤',
12
'yen': '¥',
13
'brvbar': '¦',
14
'sect': '§',
15
'uml': '¨',
16
'copy': '©',
17
'ordf': 'ª',
18
'laquo': '«',
19
'not': '¬',
20
'shy': '­',
21
'reg': '®',
22
'macr': '¯', // http://www.w3.org/TR/html4/sgml/entities.html
23
'strns': '¯', // http://www.w3.org/TR/html5/named-character-references.html
24
'deg': '°',
25
'plusmn': '±', // http://www.w3.org/TR/html4/sgml/entities.html
26
'pm': '±', // http://www.w3.org/TR/html5/named-character-references.html
27
'sup2': '²',
28
'sup3': '³',
29
'acute': '´',
30
'micro': 'µ',
31
'para': '¶',
32
'middot': '·',
33
'cedil': '¸',
34
'sup1': '¹',
35
'ordm': 'º',
36
'raquo': '»',
37
'frac14': '¼',
38
'half': '½', // http://www.w3.org/TR/html4/sgml/entities.html
39
'frac12': '½', // http://www.w3.org/TR/html5/named-character-references.html
40
'frac34': '¾',
41
'iquest': '¿',
42
'Agrave': 'À',
43
'Aacute': 'Á',
44
'Acirc': 'Â',
45
'Atilde': 'Ã',
46
'Auml': 'Ä',
47
'Aring': 'Å', // http://www.w3.org/TR/html4/sgml/entities.html
48
'angst': 'Å', // http://www.w3.org/TR/html5/named-character-references.html
49
'AElig': 'Æ',
50
'Ccedil': 'Ç',
51
'Egrave': 'È',
52
'Eacute': 'É',
53
'Ecirc': 'Ê',
54
'Euml': 'Ë',
55
'Igrave': 'Ì',
56
'Iacute': 'Í',
57
'Icirc': 'Î',
58
'Iuml': 'Ï',
59
'ETH': 'Ð',
60
'Ntilde': 'Ñ',
61
'Ograve': 'Ò',
62
'Oacute': 'Ó',
63
'Ocirc': 'Ô',
64
'Otilde': 'Õ',
65
'Ouml': 'Ö',
66
'times': '×',
67
'Oslash': 'Ø',
68
'Ugrave': 'Ù',
69
'Uacute': 'Ú',
70
'Ucirc': 'Û',
71
'Uuml': 'Ü',
72
'Yacute': 'Ý',
73
'THORN': 'Þ',
74
'szlig': 'ß',
75
'agrave': 'à',
76
'aacute': 'á',
77
'acirc': 'â',
78
'atilde': 'ã',
79
'auml': 'ä',
80
'aring': 'å',
81
'aelig': 'æ',
82
'ccedil': 'ç',
83
'egrave': 'è',
84
'eacute': 'é',
85
'ecirc': 'ê',
86
'euml': 'ë',
87
'igrave': 'ì',
88
'iacute': 'í',
89
'icirc': 'î',
90
'iuml': 'ï',
91
'eth': 'ð',
92
'ntilde': 'ñ',
93
'ograve': 'ò',
94
'oacute': 'ó',
95
'ocirc': 'ô',
96
'otilde': 'õ',
97
'ouml': 'ö',
98
'divide': '÷',
99
'oslash': 'ø',
100
'ugrave': 'ù',
101
'uacute': 'ú',
102
'ucirc': 'û',
103
'uuml': 'ü',
104
'yacute': 'ý',
105
'thorn': 'þ',
106
'yuml': 'ÿ',
107
'Amacr': 'Ā',
108
'amacr': 'ā',
109
'Abreve': 'Ă',
110
'abreve': 'ă',
111
'Aogon': 'Ą',
112
'aogon': 'ą',
113
'Cacute': 'Ć',
114
'cacute': 'ć',
115
'Ccirc': 'Ĉ',
116
'ccirc': 'ĉ',
117
'Cdot': 'Ċ',
118
'cdot': 'ċ',
119
'Ccaron': 'Č',
120
'ccaron': 'č',
121
'Dcaron': 'Ď',
122
'dcaron': 'ď',
123
'Dstrok': 'Đ',
124
'dstrok': 'đ',
125
'Emacr': 'Ē',
126
'emacr': 'ē',
127
'Edot': 'Ė',
128
'edot': 'ė',
129
'Eogon': 'Ę',
130
'eogon': 'ę',
131
'Ecaron': 'Ě',
132
'ecaron': 'ě',
133
'Gcirc': 'Ĝ',
134
'gcirc': 'ĝ',
135
'Gbreve': 'Ğ',
136
'gbreve': 'ğ',
137
'Gdot': 'Ġ',
138
'gdot': 'ġ',
139
'Gcedil': 'Ģ',
140
'Hcirc': 'Ĥ',
141
'hcirc': 'ĥ',
142
'Hstrok': 'Ħ',
143
'hstrok': 'ħ',
144
'Itilde': 'Ĩ',
145
'itilde': 'ĩ',
146
'Imacr': 'Ī',
147
'imacr': 'ī',
148
'Iogon': 'Į',
149
'iogon': 'į',
150
'Idot': 'İ',
151
'inodot': 'ı',
152
'IJlig': 'IJ',
153
'ijlig': 'ij',
154
'Jcirc': 'Ĵ',
155
'jcirc': 'ĵ',
156
'Kcedil': 'Ķ',
157
'kcedil': 'ķ',
158
'kgreen': 'ĸ',
159
'Lacute': 'Ĺ',
160
'lacute': 'ĺ',
161
'Lcedil': 'Ļ',
162
'lcedil': 'ļ',
163
'Lcaron': 'Ľ',
164
'lcaron': 'ľ',
165
'Lmidot': 'Ŀ',
166
'lmidot': 'ŀ',
167
'Lstrok': 'Ł',
168
'lstrok': 'ł',
169
'Nacute': 'Ń',
170
'nacute': 'ń',
171
'Ncedil': 'Ņ',
172
'ncedil': 'ņ',
173
'Ncaron': 'Ň',
174
'ncaron': 'ň',
175
'napos': 'ʼn',
176
'ENG': 'Ŋ',
177
'eng': 'ŋ',
178
'Omacr': 'Ō',
179
'omacr': 'ō',
180
'Odblac': 'Ő',
181
'odblac': 'ő',
182
'OElig': 'Œ',
183
'oelig': 'œ',
184
'Racute': 'Ŕ',
185
'racute': 'ŕ',
186
'Rcedil': 'Ŗ',
187
'rcedil': 'ŗ',
188
'Rcaron': 'Ř',
189
'rcaron': 'ř',
190
'Sacute': 'Ś',
191
'sacute': 'ś',
192
'Scirc': 'Ŝ',
193
'scirc': 'ŝ',
194
'Scedil': 'Ş',
195
'scedil': 'ş',
196
'Scaron': 'Š',
197
'scaron': 'š',
198
'Tcedil': 'Ţ',
199
'tcedil': 'ţ',
200
'Tcaron': 'Ť',
201
'tcaron': 'ť',
202
'Tstrok': 'Ŧ',
203
'tstrok': 'ŧ',
204
'Utilde': 'Ũ',
205
'utilde': 'ũ',
206
'Umacr': 'Ū',
207
'umacr': 'ū',
208
'Ubreve': 'Ŭ',
209
'ubreve': 'ŭ',
210
'Uring': 'Ů',
211
'uring': 'ů',
212
'Udblac': 'Ű',
213
'udblac': 'ű',
214
'Uogon': 'Ų',
215
'uogon': 'ų',
216
'Wcirc': 'Ŵ',
217
'wcirc': 'ŵ',
218
'Ycirc': 'Ŷ',
219
'ycirc': 'ŷ',
220
'Yuml': 'Ÿ',
221
'Zacute': 'Ź',
222
'zacute': 'ź',
223
'Zdot': 'Ż',
224
'zdot': 'ż',
225
'Zcaron': 'Ž',
226
'zcaron': 'ž',
227
'fnof': 'ƒ',
228
'imped': 'Ƶ',
229
'gacute': 'ǵ',
230
'jmath': 'ȷ',
231
'circ': 'ˆ',
232
'caron': 'ˇ',
233
'breve': '˘',
234
'dot': '˙',
235
'ring': '˚',
236
'ogon': '˛',
237
'tilde': '˜',
238
'dblac': '˝',
239
'Alpha': 'Α',
240
'Beta': 'Β',
241
'Gamma': 'Γ',
242
'Delta': 'Δ',
243
'Epsilon': 'Ε',
244
'Zeta': 'Ζ',
245
'Eta': 'Η',
246
'Theta': 'Θ',
247
'Iota': 'Ι',
248
'Kappa': 'Κ',
249
'Lambda': 'Λ',
250
'Mu': 'Μ',
251
'Nu': 'Ν',
252
'Xi': 'Ξ',
253
'Omicron': 'Ο',
254
'Pi': 'Π',
255
'Rho': 'Ρ',
256
'Sigma': 'Σ',
257
'Tau': 'Τ',
258
'Upsilon': 'Υ',
259
'Phi': 'Φ',
260
'Chi': 'Χ',
261
'Psi': 'Ψ',
262
'Omega': 'Ω', // http://www.w3.org/TR/html4/sgml/entities.html
263
'ohm': 'Ω', // http://www.w3.org/TR/html5/named-character-references.html
264
'alpha': 'α',
265
'beta': 'β',
266
'gamma': 'γ',
267
'delta': 'δ',
268
'epsilon': 'ε',
269
'zeta': 'ζ',
270
'eta': 'η',
271
'theta': 'θ',
272
'iota': 'ι',
273
'kappa': 'κ',
274
'lambda': 'λ',
275
'mu': 'μ',
276
'nu': 'ν',
277
'xi': 'ξ',
278
'omicron': 'ο',
279
'pi': 'π',
280
'rho': 'ρ',
281
'sigmaf': 'ς', // http://www.w3.org/TR/html4/sgml/entities.html
282
'varsigma': 'ς', // http://www.w3.org/TR/html5/named-character-references.html
283
'sigma': 'σ',
284
'tau': 'τ',
285
'upsilon': 'υ',
286
'phi': 'φ',
287
'chi': 'χ',
288
'psi': 'ψ',
289
'omega': 'ω',
290
'thetasym': 'ϑ', // http://www.w3.org/TR/html4/sgml/entities.html
291
'vartheta': 'ϑ', // http://www.w3.org/TR/html5/named-character-references.html
292
'upsih': 'ϒ',
293
'varphi': 'ϕ',
294
'piv': 'ϖ', // http://www.w3.org/TR/html4/sgml/entities.html
295
'varpi': 'ϖ', // http://www.w3.org/TR/html5/named-character-references.html
296
'Gammad': 'Ϝ',
297
'gammad': 'ϝ',
298
'varkappa': 'ϰ',
299
'varrho': 'ϱ',
300
'varepsilon': 'ϵ',
301
'bepsi': '϶',
302
'IOcy': 'Ё',
303
'DJcy': 'Ђ',
304
'GJcy': 'Ѓ',
305
'Jukcy': 'Є',
306
'DScy': 'Ѕ',
307
'Iukcy': 'І',
308
'YIcy': 'Ї',
309
'Jsercy': 'Ј',
310
'LJcy': 'Љ',
311
'NJcy': 'Њ',
312
'TSHcy': 'Ћ',
313
'KJcy': 'Ќ',
314
'Ubrcy': 'Ў',
315
'DZcy': 'Џ',
316
'Acy': 'А',
317
'Bcy': 'Б',
318
'Vcy': 'В',
319
'Gcy': 'Г',
320
'Dcy': 'Д',
321
'IEcy': 'Е',
322
'ZHcy': 'Ж',
323
'Zcy': 'З',
324
'Icy': 'И',
325
'Jcy': 'Й',
326
'Kcy': 'К',
327
'Lcy': 'Л',
328
'Mcy': 'М',
329
'Ncy': 'Н',
330
'Ocy': 'О',
331
'Pcy': 'П',
332
'Rcy': 'Р',
333
'Scy': 'С',
334
'Tcy': 'Т',
335
'Ucy': 'У',
336
'Fcy': 'Ф',
337
'KHcy': 'Х',
338
'TScy': 'Ц',
339
'CHcy': 'Ч',
340
'SHcy': 'Ш',
341
'SHCHcy': 'Щ',
342
'HARDcy': 'Ъ',
343
'Ycy': 'Ы',
344
'SOFTcy': 'Ь',
345
'Ecy': 'Э',
346
'YUcy': 'Ю',
347
'YAcy': 'Я',
348
'acy': 'а',
349
'bcy': 'б',
350
'vcy': 'в',
351
'gcy': 'г',
352
'dcy': 'д',
353
'iecy': 'е',
354
'zhcy': 'ж',
355
'zcy': 'з',
356
'icy': 'и',
357
'jcy': 'й',
358
'kcy': 'к',
359
'lcy': 'л',
360
'mcy': 'м',
361
'ncy': 'н',
362
'ocy': 'о',
363
'pcy': 'п',
364
'rcy': 'р',
365
'scy': 'с',
366
'tcy': 'т',
367
'ucy': 'у',
368
'fcy': 'ф',
369
'khcy': 'х',
370
'tscy': 'ц',
371
'chcy': 'ч',
372
'shcy': 'ш',
373
'shchcy': 'щ',
374
'hardcy': 'ъ',
375
'ycy': 'ы',
376
'softcy': 'ь',
377
'ecy': 'э',
378
'yucy': 'ю',
379
'yacy': 'я',
380
'iocy': 'ё',
381
'djcy': 'ђ',
382
'gjcy': 'ѓ',
383
'jukcy': 'є',
384
'dscy': 'ѕ',
385
'iukcy': 'і',
386
'yicy': 'ї',
387
'jsercy': 'ј',
388
'ljcy': 'љ',
389
'njcy': 'њ',
390
'tshcy': 'ћ',
391
'kjcy': 'ќ',
392
'ubrcy': 'ў',
393
'dzcy': 'џ',
394
'ensp': ' ',
395
'emsp': ' ',
396
'emsp13': ' ',
397
'emsp14': ' ',
398
'numsp': ' ',
399
'puncsp': ' ',
400
'thinsp': ' ',
401
'hairsp': ' ',
402
'ZeroWidthSpace': '​',
403
'zwnj': '‌',
404
'zwj': '‍',
405
'lrm': '‎',
406
'rlm': '‏',
407
'hyphen': '‐',
408
'ndash': '–',
409
'mdash': '—',
410
'horbar': '―',
411
'Vert': '‖',
412
'lsquo': '‘',
413
'rsquo': '’', // http://www.w3.org/TR/html4/sgml/entities.html
414
'rsquor': '’', // http://www.w3.org/TR/html5/named-character-references.html
415
'sbquo': '‚',
416
'ldquo': '“',
417
'rdquo': '”', // http://www.w3.org/TR/html4/sgml/entities.html
418
'rdquor': '”', // http://www.w3.org/TR/html5/named-character-references.html
419
'ldquo': '“', // http://www.w3.org/TR/html4/sgml/entities.html
420
'ldquor': '„', // http://www.w3.org/TR/html5/named-character-references.html
421
'dagger': '†',
422
'Dagger': '‡', // http://www.w3.org/TR/html4/sgml/entities.html
423
'ddagger': '‡', // http://www.w3.org/TR/html5/named-character-references.html
424
'bull': '•', // http://www.w3.org/TR/html4/sgml/entities.html
425
'bullet': '•', // http://www.w3.org/TR/html5/named-character-references.html
426
'nldr': '‥',
427
'hellip': '…', // http://www.w3.org/TR/html4/sgml/entities.html
428
'mldr': '…', // http://www.w3.org/TR/html5/named-character-references.html
429
'permil': '‰',
430
'pertenk': '‱',
431
'prime': '′',
432
'Prime': '″',
433
'tprime': '‴',
434
'bprime': '‵',
435
'lsaquo': '‹',
436
'rsaquo': '›',
437
'oline': '‾',
438
'caret': '⁁',
439
'hybull': '⁃',
440
'frasl': '⁄',
441
'bsemi': '⁏',
442
'qprime': '⁗',
443
'MediumSpace': ' ',
444
'NoBreak': '⁠',
445
'af': '⁡',
446
'it': '⁢',
447
'ic': '⁣',
448
'euro': '€',
449
'complexes': 'ℂ',
450
'incare': '℅',
451
'gscr': 'ℊ',
452
'hamilt': 'ℋ',
453
'Poincareplane': 'ℌ',
454
'quaternions': 'ℍ',
455
'planckh': 'ℎ',
456
'plankv': 'ℏ',
457
'imagline': 'ℐ',
458
'image': 'ℑ', // http://www.w3.org/TR/html4/sgml/entities.html
459
'imagpart': 'ℑ', // http://www.w3.org/TR/html5/named-character-references.html
460
'lagran': 'ℒ',
461
'ell': 'ℓ',
462
'naturals': 'ℕ',
463
'numero': '№',
464
'copysr': '℗',
465
'weierp': '℘', // http://www.w3.org/TR/html4/sgml/entities.html
466
'wp': '℘', // http://www.w3.org/TR/html5/named-character-references.html
467
'primes': 'ℙ',
468
'rationals': 'ℚ',
469
'realine': 'ℛ',
470
'real': 'ℜ', // http://www.w3.org/TR/html4/sgml/entities.html
471
'realpart': 'ℜ', // http://www.w3.org/TR/html5/named-character-references.html
472
'reals': 'ℝ',
473
'rx': '℞',
474
'trade': '™',
475
'integers': 'ℤ',
476
'mho': '℧',
477
'zeetrf': 'ℨ',
478
'iiota': '℩',
479
'bernou': 'ℬ',
480
'Cfr': 'ℭ',
481
'escr': 'ℯ',
482
'expectation': 'ℰ',
483
'Fscr': 'ℱ',
484
'phmmat': 'ℳ',
485
'oscr': 'ℴ',
486
'alefsym': 'ℵ', // http://www.w3.org/TR/html4/sgml/entities.html
487
'aleph': 'ℵ', // http://www.w3.org/TR/html5/named-character-references.html
488
'beth': 'ℶ',
489
'gimel': 'ℷ',
490
'daleth': 'ℸ',
491
'DD': 'ⅅ',
492
'dd': 'ⅆ',
493
'exponentiale': 'ⅇ',
494
'ii': 'ⅈ',
495
'frac13': '⅓',
496
'frac23': '⅔',
497
'frac15': '⅕',
498
'frac25': '⅖',
499
'frac35': '⅗',
500
'frac45': '⅘',
501
'frac16': '⅙',
502
'frac56': '⅚',
503
'frac18': '⅛',
504
'frac38': '⅜',
505
'frac58': '⅝',
506
'frac78': '⅞',
507
'larr': '←', // http://www.w3.org/TR/html4/sgml/entities.html
508
'slarr': '←', // http://www.w3.org/TR/html5/named-character-references.html
509
'uarr': '↑', // http://www.w3.org/TR/html4/sgml/entities.html
510
'uparrow': '↑', // http://www.w3.org/TR/html5/named-character-references.html
511
'rarr': '→', // http://www.w3.org/TR/html4/sgml/entities.html
512
'srarr': '→', // http://www.w3.org/TR/html5/named-character-references.html
513
'darr': '↓', // http://www.w3.org/TR/html4/sgml/entities.html
514
'downarrow': '↓', // http://www.w3.org/TR/html5/named-character-references.html
515
'harr': '↔', // http://www.w3.org/TR/html4/sgml/entities.html
516
'leftrightarrow': '↔', // http://www.w3.org/TR/html5/named-character-references.html
517
'varr': '↕',
518
'nwarrow': '↖',
519
'nearrow': '↗',
520
'searrow': '↘',
521
'swarrow': '↙',
522
'nleftarrow': '↚',
523
'nrightarrow': '↛',
524
'rightsquigarrow': '↝',
525
'twoheadleftarrow': '↞',
526
'Uarr': '↟',
527
'twoheadrightarrow': '↠',
528
'Darr': '↡',
529
'leftarrowtail': '↢',
530
'rightarrowtail': '↣',
531
'mapstoleft': '↤',
532
'mapstoup': '↥',
533
'mapsto': '↦',
534
'mapstodown': '↧',
535
'larrhk': '↩',
536
'rarrhk': '↪',
537
'looparrowleft': '↫',
538
'rarrlp': '↬',
539
'leftrightsquigarrow': '↭',
540
'nleftrightarrow': '↮',
541
'lsh': '↰',
542
'rsh': '↱',
543
'ldsh': '↲',
544
'rdsh': '↳',
545
'crarr': '↵',
546
'curvearrowleft': '↶',
547
'curvearrowright': '↷',
548
'olarr': '↺',
549
'orarr': '↻',
550
'lharu': '↼',
551
'lhard': '↽',
552
'upharpoonright': '↾',
553
'upharpoonleft': '↿',
554
'rightharpoonup': '⇀',
555
'rightharpoondown': '⇁',
556
'downharpoonright': '⇂',
557
'downharpoonleft': '⇃',
558
'rlarr': '⇄',
559
'udarr': '⇅',
560
'lrarr': '⇆',
561
'llarr': '⇇',
562
'uuarr': '⇈',
563
'rrarr': '⇉',
564
'downdownarrows': '⇊',
565
'lrhar': '⇋',
566
'rlhar': '⇌',
567
'nlArr': '⇍',
568
'nhArr': '⇎',
569
'nrArr': '⇏',
570
'lArr': '⇐',
571
'uArr': '⇑',
572
'rArr': '⇒',
573
'dArr': '⇓',
574
'hArr': '⇔', // http://www.w3.org/TR/html4/sgml/entities.html
575
'iff': '⇔', // http://www.w3.org/TR/html5/named-character-references.html
576
'vArr': '⇕',
577
'nwArr': '⇖',
578
'neArr': '⇗',
579
'seArr': '⇘',
580
'swArr': '⇙',
581
'lAarr': '⇚',
582
'rAarr': '⇛',
583
'zigrarr': '⇝',
584
'larrb': '⇤',
585
'rarrb': '⇥',
586
'duarr': '⇵',
587
'loarr': '⇽',
588
'roarr': '⇾',
589
'hoarr': '⇿',
590
'forall': '∀',
591
'complement': '∁',
592
'part': '∂',
593
'exist': '∃',
594
'nexists': '∄',
595
'empty': '∅', // http://www.w3.org/TR/html4/sgml/entities.html
596
'varnothing': '∅', // http://www.w3.org/TR/html5/named-character-references.html
597
'nabla': '∇',
598
'isin': '∈', // http://www.w3.org/TR/html4/sgml/entities.html
599
'isinv': '∈', // http://www.w3.org/TR/html5/named-character-references.html
600
'notin': '∉', // http://www.w3.org/TR/html4/sgml/entities.html
601
'notinva': '∉', // http://www.w3.org/TR/html5/named-character-references.html
602
'ni': '∋', // http://www.w3.org/TR/html4/sgml/entities.html
603
'niv': '∋', // http://www.w3.org/TR/html5/named-character-references.html
604
'notniva': '∌',
605
'prod': '∏',
606
'coprod': '∐',
607
'sum': '∑',
608
'minus': '−',
609
'mp': '∓',
610
'plusdo': '∔',
611
'ssetmn': '∖',
612
'lowast': '∗',
613
'compfn': '∘',
614
'radic': '√',
615
'prop': '∝', // http://www.w3.org/TR/html4/sgml/entities.html
616
'vprop': '∝', // http://www.w3.org/TR/html5/named-character-references.html
617
'infin': '∞',
618
'angrt': '∟',
619
'ang': '∠', // http://www.w3.org/TR/html4/sgml/entities.html
620
'angle': '∠', // http://www.w3.org/TR/html5/named-character-references.html
621
'measuredangle': '∡',
622
'angsph': '∢',
623
'smid': '∣',
624
'nsmid': '∤',
625
'spar': '∥',
626
'nspar': '∦',
627
'and': '∧', // http://www.w3.org/TR/html4/sgml/entities.html
628
'wedge': '∧', // http://www.w3.org/TR/html5/named-character-references.html
629
'or': '∨', // http://www.w3.org/TR/html4/sgml/entities.html
630
'vee': '∨', // http://www.w3.org/TR/html5/named-character-references.html
631
'cap': '∩',
632
'cup': '∪',
633
'int': '∫',
634
'Int': '∬',
635
'tint': '∭',
636
'oint': '∮',
637
'DoubleContourIntegral': '∯',
638
'Cconint': '∰',
639
'cwint': '∱',
640
'cwconint': '∲',
641
'awconint': '∳',
642
'there4': '∴', // http://www.w3.org/TR/html4/sgml/entities.html
643
'therefore': '∴', // http://www.w3.org/TR/html5/named-character-references.html
644
'because': '∵',
645
'ratio': '∶',
646
'Proportion': '∷',
647
'minusd': '∸',
648
'mDDot': '∺',
649
'homtht': '∻',
650
'sim': '∼', // http://www.w3.org/TR/html4/sgml/entities.html
651
'thksim': '∼', // http://www.w3.org/TR/html5/named-character-references.html
652
'bsim': '∽',
653
'mstpos': '∾',
654
'acd': '∿',
655
'wreath': '≀',
656
'nsim': '≁',
657
'esim': '≂',
658
'simeq': '≃',
659
'nsimeq': '≄',
660
'cong': '≅',
661
'simne': '≆',
662
'ncong': '≇',
663
'asymp': '≈', // http://www.w3.org/TR/html4/sgml/entities.html
664
'thkap': '≈', // http://www.w3.org/TR/html5/named-character-references.html
665
'napprox': '≉',
666
'approxeq': '≊',
667
'apid': '≋',
668
'bcong': '≌',
669
'asympeq': '≍',
670
'bump': '≎',
671
'bumpeq': '≏',
672
'esdot': '≐',
673
'eDot': '≑',
674
'fallingdotseq': '≒',
675
'risingdotseq': '≓',
676
'coloneq': '≔',
677
'eqcolon': '≕',
678
'eqcirc': '≖',
679
'cire': '≗',
680
'wedgeq': '≙',
681
'veeeq': '≚',
682
'trie': '≜',
683
'questeq': '≟',
684
'ne': '≠',
685
'equiv': '≡',
686
'nequiv': '≢',
687
'le': '≤', // http://www.w3.org/TR/html4/sgml/entities.html
688
'leq': '≤', // http://www.w3.org/TR/html5/named-character-references.html
689
'ge': '≥', // http://www.w3.org/TR/html4/sgml/entities.html
690
'geq': '≥', // http://www.w3.org/TR/html5/named-character-references.html
691
'leqq': '≦',
692
'geqq': '≧',
693
'lneqq': '≨',
694
'gneqq': '≩',
695
'll': '≪',
696
'gg': '≫',
697
'twixt': '≬',
698
'NotCupCap': '≭',
699
'nlt': '≮',
700
'ngtr': '≯',
701
'nleq': '≰',
702
'ngeq': '≱',
703
'lsim': '≲',
704
'gtrsim': '≳',
705
'nlsim': '≴',
706
'ngsim': '≵',
707
'lg': '≶',
708
'gtrless': '≷',
709
'ntlg': '≸',
710
'ntgl': '≹',
711
'prec': '≺',
712
'succ': '≻',
713
'preccurlyeq': '≼',
714
'succcurlyeq': '≽',
715
'prsim': '≾',
716
'succsim': '≿',
717
'nprec': '⊀',
718
'nsucc': '⊁',
719
'sub': '⊂', // http://www.w3.org/TR/html4/sgml/entities.html
720
'subset': '⊂', // http://www.w3.org/TR/html5/named-character-references.html
721
'sup': '⊃', // http://www.w3.org/TR/html4/sgml/entities.html
722
'supset': '⊃', // http://www.w3.org/TR/html5/named-character-references.html
723
'nsub': '⊄',
724
'nsup': '⊅',
725
'sube': '⊆', // http://www.w3.org/TR/html4/sgml/entities.html
726
'subseteq': '⊆', // http://www.w3.org/TR/html5/named-character-references.html
727
'supe': '⊇', // http://www.w3.org/TR/html4/sgml/entities.html
728
'supseteq': '⊇', // http://www.w3.org/TR/html5/named-character-references.html
729
'nsubseteq': '⊈',
730
'nsupseteq': '⊉',
731
'subsetneq': '⊊',
732
'supsetneq': '⊋',
733
'cupdot': '⊍',
734
'uplus': '⊎',
735
'sqsubset': '⊏',
736
'sqsupset': '⊐',
737
'sqsubseteq': '⊑',
738
'sqsupseteq': '⊒',
739
'sqcap': '⊓',
740
'sqcup': '⊔',
741
'oplus': '⊕',
742
'ominus': '⊖',
743
'otimes': '⊗',
744
'osol': '⊘',
745
'odot': '⊙',
746
'ocir': '⊚',
747
'oast': '⊛',
748
'odash': '⊝',
749
'plusb': '⊞',
750
'minusb': '⊟',
751
'timesb': '⊠',
752
'sdotb': '⊡',
753
'vdash': '⊢',
754
'dashv': '⊣',
755
'top': '⊤',
756
'perp': '⊥',
757
'models': '⊧',
758
'vDash': '⊨',
759
'Vdash': '⊩',
760
'Vvdash': '⊪',
761
'VDash': '⊫',
762
'nvdash': '⊬',
763
'nvDash': '⊭',
764
'nVdash': '⊮',
765
'nVDash': '⊯',
766
'prurel': '⊰',
767
'vltri': '⊲',
768
'vrtri': '⊳',
769
'trianglelefteq': '⊴',
770
'trianglerighteq': '⊵',
771
'origof': '⊶',
772
'imof': '⊷',
773
'mumap': '⊸',
774
'hercon': '⊹',
775
'intercal': '⊺',
776
'veebar': '⊻',
777
'barvee': '⊽',
778
'angrtvb': '⊾',
779
'lrtri': '⊿',
780
'xwedge': '⋀',
781
'xvee': '⋁',
782
'xcap': '⋂',
783
'xcup': '⋃',
784
'diamond': '⋄',
785
'sdot': '⋅',
786
'sstarf': '⋆',
787
'divonx': '⋇',
788
'bowtie': '⋈',
789
'ltimes': '⋉',
790
'rtimes': '⋊',
791
'lthree': '⋋',
792
'rthree': '⋌',
793
'bsime': '⋍',
794
'cuvee': '⋎',
795
'cuwed': '⋏',
796
'Subset': '⋐',
797
'Supset': '⋑',
798
'Cap': '⋒',
799
'Cup': '⋓',
800
'pitchfork': '⋔',
801
'epar': '⋕',
802
'ltdot': '⋖',
803
'gtrdot': '⋗',
804
'Ll': '⋘',
805
'ggg': '⋙',
806
'lesseqgtr': '⋚',
807
'gtreqless': '⋛',
808
'curlyeqprec': '⋞',
809
'curlyeqsucc': '⋟',
810
'nprcue': '⋠',
811
'nsccue': '⋡',
812
'nsqsube': '⋢',
813
'nsqsupe': '⋣',
814
'lnsim': '⋦',
815
'gnsim': '⋧',
816
'prnsim': '⋨',
817
'succnsim': '⋩',
818
'ntriangleleft': '⋪',
819
'ntriangleright': '⋫',
820
'ntrianglelefteq': '⋬',
821
'ntrianglerighteq': '⋭',
822
'vellip': '⋮',
823
'ctdot': '⋯',
824
'utdot': '⋰',
825
'dtdot': '⋱',
826
'disin': '⋲',
827
'isinsv': '⋳',
828
'isins': '⋴',
829
'isindot': '⋵',
830
'notinvc': '⋶',
831
'notinvb': '⋷',
832
'isinE': '⋹',
833
'nisd': '⋺',
834
'xnis': '⋻',
835
'nis': '⋼',
836
'notnivc': '⋽',
837
'notnivb': '⋾',
838
'barwedge': '⌅',
839
'doublebarwedge': '⌆',
840
'lceil': '⌈',
841
'rceil': '⌉',
842
'lfloor': '⌊',
843
'rfloor': '⌋',
844
'drcrop': '⌌',
845
'dlcrop': '⌍',
846
'urcrop': '⌎',
847
'ulcrop': '⌏',
848
'bnot': '⌐',
849
'profline': '⌒',
850
'profsurf': '⌓',
851
'telrec': '⌕',
852
'target': '⌖',
853
'ulcorner': '⌜',
854
'urcorner': '⌝',
855
'llcorner': '⌞',
856
'lrcorner': '⌟',
857
'sfrown': '⌢',
858
'ssmile': '⌣',
859
'lang': '〈', // http://www.w3.org/TR/html4/sgml/entities.html
860
'rang': '〉', // http://www.w3.org/TR/html4/sgml/entities.html
861
'cylcty': '⌭',
862
'profalar': '⌮',
863
'topbot': '⌶',
864
'ovbar': '⌽',
865
'solbar': '⌿',
866
'angzarr': '⍼',
867
'lmoustache': '⎰',
868
'rmoustache': '⎱',
869
'tbrk': '⎴',
870
'bbrk': '⎵',
871
'bbrktbrk': '⎶',
872
'OverParenthesis': '⏜',
873
'UnderParenthesis': '⏝',
874
'OverBrace': '⏞',
875
'UnderBrace': '⏟',
876
'trpezium': '⏢',
877
'elinters': '⏧',
878
'blank': '␣',
879
'oS': 'Ⓢ',
880
'boxh': '─',
881
'boxv': '│',
882
'boxdr': '┌',
883
'boxdl': '┐',
884
'boxur': '└',
885
'boxul': '┘',
886
'boxvr': '├',
887
'boxvl': '┤',
888
'boxhd': '┬',
889
'boxhu': '┴',
890
'boxvh': '┼',
891
'boxH': '═',
892
'boxV': '║',
893
'boxdR': '╒',
894
'boxDr': '╓',
895
'boxDR': '╔',
896
'boxdL': '╕',
897
'boxDl': '╖',
898
'boxDL': '╗',
899
'boxuR': '╘',
900
'boxUr': '╙',
901
'boxUR': '╚',
902
'boxuL': '╛',
903
'boxUl': '╜',
904
'boxUL': '╝',
905
'boxvR': '╞',
906
'boxVr': '╟',
907
'boxVR': '╠',
908
'boxvL': '╡',
909
'boxVl': '╢',
910
'boxVL': '╣',
911
'boxHd': '╤',
912
'boxhD': '╥',
913
'boxHD': '╦',
914
'boxHu': '╧',
915
'boxhU': '╨',
916
'boxHU': '╩',
917
'boxvH': '╪',
918
'boxVh': '╫',
919
'boxVH': '╬',
920
'uhblk': '▀',
921
'lhblk': '▄',
922
'block': '█',
923
'blk14': '░',
924
'blk12': '▒',
925
'blk34': '▓',
926
'square': '□',
927
'squf': '▪',
928
'EmptyVerySmallSquare': '▫',
929
'rect': '▭',
930
'marker': '▮',
931
'fltns': '▱',
932
'xutri': '△',
933
'utrif': '▴',
934
'utri': '▵',
935
'rtrif': '▸',
936
'triangleright': '▹',
937
'xdtri': '▽',
938
'dtrif': '▾',
939
'triangledown': '▿',
940
'ltrif': '◂',
941
'triangleleft': '◃',
942
'loz': '◊', // http://www.w3.org/TR/html4/sgml/entities.html
943
'lozenge': '◊', // http://www.w3.org/TR/html5/named-character-references.html
944
'cir': '○',
945
'tridot': '◬',
946
'xcirc': '◯',
947
'ultri': '◸',
948
'urtri': '◹',
949
'lltri': '◺',
950
'EmptySmallSquare': '◻',
951
'FilledSmallSquare': '◼',
952
'starf': '★',
953
'star': '☆',
954
'phone': '☎',
955
'female': '♀',
956
'male': '♂',
957
'spades': '♠', // http://www.w3.org/TR/html4/sgml/entities.html
958
'spadesuit': '♠', // http://www.w3.org/TR/html5/named-character-references.html
959
'clubs': '♣', // http://www.w3.org/TR/html4/sgml/entities.html
960
'clubsuit': '♣', // http://www.w3.org/TR/html5/named-character-references.html
961
'hearts': '♥', // http://www.w3.org/TR/html4/sgml/entities.html
962
'heartsuit': '♥', // http://www.w3.org/TR/html5/named-character-references.html
963
'diams': '♦',
964
'sung': '♪',
965
'flat': '♭',
966
'natural': '♮',
967
'sharp': '♯',
968
'checkmark': '✓',
969
'cross': '✗',
970
'maltese': '✠',
971
'sext': '✶',
972
'VerticalSeparator': '❘',
973
'lbbrk': '❲',
974
'rbbrk': '❳',
975
'bsolhsub': '⟈',
976
'suphsol': '⟉',
977
'lobrk': '⟦',
978
'robrk': '⟧',
979
'langle': '⟨',
980
'rangle': '⟩',
981
'Lang': '⟪',
982
'Rang': '⟫',
983
'loang': '⟬',
984
'roang': '⟭',
985
'xlarr': '⟵',
986
'xrarr': '⟶',
987
'xharr': '⟷',
988
'xlArr': '⟸',
989
'xrArr': '⟹',
990
'xhArr': '⟺',
991
'xmap': '⟼',
992
'dzigrarr': '⟿',
993
'nvlArr': '⤂',
994
'nvrArr': '⤃',
995
'nvHarr': '⤄',
996
'Map': '⤅',
997
'lbarr': '⤌',
998
'rbarr': '⤍',
999
'lBarr': '⤎',
1000
'rBarr': '⤏',
1001
'drbkarow': '⤐',
1002
'DDotrahd': '⤑',
1003
'UpArrowBar': '⤒',
1004
'DownArrowBar': '⤓',
1005
'Rarrtl': '⤖',
1006
'latail': '⤙',
1007
'ratail': '⤚',
1008
'lAtail': '⤛',
1009
'rAtail': '⤜',
1010
'larrfs': '⤝',
1011
'rarrfs': '⤞',
1012
'larrbfs': '⤟',
1013
'rarrbfs': '⤠',
1014
'nwarhk': '⤣',
1015
'nearhk': '⤤',
1016
'searhk': '⤥',
1017
'swarhk': '⤦',
1018
'nwnear': '⤧',
1019
'toea': '⤨',
1020
'tosa': '⤩',
1021
'swnwar': '⤪',
1022
'rarrc': '⤳',
1023
'cudarrr': '⤵',
1024
'ldca': '⤶',
1025
'rdca': '⤷',
1026
'cudarrl': '⤸',
1027
'larrpl': '⤹',
1028
'curarrm': '⤼',
1029
'cularrp': '⤽',
1030
'rarrpl': '⥅',
1031
'harrcir': '⥈',
1032
'Uarrocir': '⥉',
1033
'lurdshar': '⥊',
1034
'ldrushar': '⥋',
1035
'LeftRightVector': '⥎',
1036
'RightUpDownVector': '⥏',
1037
'DownLeftRightVector': '⥐',
1038
'LeftUpDownVector': '⥑',
1039
'LeftVectorBar': '⥒',
1040
'RightVectorBar': '⥓',
1041
'RightUpVectorBar': '⥔',
1042
'RightDownVectorBar': '⥕',
1043
'DownLeftVectorBar': '⥖',
1044
'DownRightVectorBar': '⥗',
1045
'LeftUpVectorBar': '⥘',
1046
'LeftDownVectorBar': '⥙',
1047
'LeftTeeVector': '⥚',
1048
'RightTeeVector': '⥛',
1049
'RightUpTeeVector': '⥜',
1050
'RightDownTeeVector': '⥝',
1051
'DownLeftTeeVector': '⥞',
1052
'DownRightTeeVector': '⥟',
1053
'LeftUpTeeVector': '⥠',
1054
'LeftDownTeeVector': '⥡',
1055
'lHar': '⥢',
1056
'uHar': '⥣',
1057
'rHar': '⥤',
1058
'dHar': '⥥',
1059
'luruhar': '⥦',
1060
'ldrdhar': '⥧',
1061
'ruluhar': '⥨',
1062
'rdldhar': '⥩',
1063
'lharul': '⥪',
1064
'llhard': '⥫',
1065
'rharul': '⥬',
1066
'lrhard': '⥭',
1067
'udhar': '⥮',
1068
'duhar': '⥯',
1069
'RoundImplies': '⥰',
1070
'erarr': '⥱',
1071
'simrarr': '⥲',
1072
'larrsim': '⥳',
1073
'rarrsim': '⥴',
1074
'rarrap': '⥵',
1075
'ltlarr': '⥶',
1076
'gtrarr': '⥸',
1077
'subrarr': '⥹',
1078
'suplarr': '⥻',
1079
'lfisht': '⥼',
1080
'rfisht': '⥽',
1081
'ufisht': '⥾',
1082
'dfisht': '⥿',
1083
'lopar': '⦅',
1084
'ropar': '⦆',
1085
'lbrke': '⦋',
1086
'rbrke': '⦌',
1087
'lbrkslu': '⦍',
1088
'rbrksld': '⦎',
1089
'lbrksld': '⦏',
1090
'rbrkslu': '⦐',
1091
'langd': '⦑',
1092
'rangd': '⦒',
1093
'lparlt': '⦓',
1094
'rpargt': '⦔',
1095
'gtlPar': '⦕',
1096
'ltrPar': '⦖',
1097
'vzigzag': '⦚',
1098
'vangrt': '⦜',
1099
'angrtvbd': '⦝',
1100
'ange': '⦤',
1101
'range': '⦥',
1102
'dwangle': '⦦',
1103
'uwangle': '⦧',
1104
'angmsdaa': '⦨',
1105
'angmsdab': '⦩',
1106
'angmsdac': '⦪',
1107
'angmsdad': '⦫',
1108
'angmsdae': '⦬',
1109
'angmsdaf': '⦭',
1110
'angmsdag': '⦮',
1111
'angmsdah': '⦯',
1112
'bemptyv': '⦰',
1113
'demptyv': '⦱',
1114
'cemptyv': '⦲',
1115
'raemptyv': '⦳',
1116
'laemptyv': '⦴',
1117
'ohbar': '⦵',
1118
'omid': '⦶',
1119
'opar': '⦷',
1120
'operp': '⦹',
1121
'olcross': '⦻',
1122
'odsold': '⦼',
1123
'olcir': '⦾',
1124
'ofcir': '⦿',
1125
'olt': '⧀',
1126
'ogt': '⧁',
1127
'cirscir': '⧂',
1128
'cirE': '⧃',
1129
'solb': '⧄',
1130
'bsolb': '⧅',
1131
'boxbox': '⧉',
1132
'trisb': '⧍',
1133
'rtriltri': '⧎',
1134
'LeftTriangleBar': '⧏',
1135
'RightTriangleBar': '⧐',
1136
'iinfin': '⧜',
1137
'infintie': '⧝',
1138
'nvinfin': '⧞',
1139
'eparsl': '⧣',
1140
'smeparsl': '⧤',
1141
'eqvparsl': '⧥',
1142
'lozf': '⧫',
1143
'RuleDelayed': '⧴',
1144
'dsol': '⧶',
1145
'xodot': '⨀',
1146
'xoplus': '⨁',
1147
'xotime': '⨂',
1148
'xuplus': '⨄',
1149
'xsqcup': '⨆',
1150
'qint': '⨌',
1151
'fpartint': '⨍',
1152
'cirfnint': '⨐',
1153
'awint': '⨑',
1154
'rppolint': '⨒',
1155
'scpolint': '⨓',
1156
'npolint': '⨔',
1157
'pointint': '⨕',
1158
'quatint': '⨖',
1159
'intlarhk': '⨗',
1160
'pluscir': '⨢',
1161
'plusacir': '⨣',
1162
'simplus': '⨤',
1163
'plusdu': '⨥',
1164
'plussim': '⨦',
1165
'plustwo': '⨧',
1166
'mcomma': '⨩',
1167
'minusdu': '⨪',
1168
'loplus': '⨭',
1169
'roplus': '⨮',
1170
'Cross': '⨯',
1171
'timesd': '⨰',
1172
'timesbar': '⨱',
1173
'smashp': '⨳',
1174
'lotimes': '⨴',
1175
'rotimes': '⨵',
1176
'otimesas': '⨶',
1177
'Otimes': '⨷',
1178
'odiv': '⨸',
1179
'triplus': '⨹',
1180
'triminus': '⨺',
1181
'tritime': '⨻',
1182
'iprod': '⨼',
1183
'amalg': '⨿',
1184
'capdot': '⩀',
1185
'ncup': '⩂',
1186
'ncap': '⩃',
1187
'capand': '⩄',
1188
'cupor': '⩅',
1189
'cupcap': '⩆',
1190
'capcup': '⩇',
1191
'cupbrcap': '⩈',
1192
'capbrcup': '⩉',
1193
'cupcup': '⩊',
1194
'capcap': '⩋',
1195
'ccups': '⩌',
1196
'ccaps': '⩍',
1197
'ccupssm': '⩐',
1198
'And': '⩓',
1199
'Or': '⩔',
1200
'andand': '⩕',
1201
'oror': '⩖',
1202
'orslope': '⩗',
1203
'andslope': '⩘',
1204
'andv': '⩚',
1205
'orv': '⩛',
1206
'andd': '⩜',
1207
'ord': '⩝',
1208
'wedbar': '⩟',
1209
'sdote': '⩦',
1210
'simdot': '⩪',
1211
'congdot': '⩭',
1212
'easter': '⩮',
1213
'apacir': '⩯',
1214
'apE': '⩰',
1215
'eplus': '⩱',
1216
'pluse': '⩲',
1217
'Esim': '⩳',
1218
'Colone': '⩴',
1219
'Equal': '⩵',
1220
'eDDot': '⩷',
1221
'equivDD': '⩸',
1222
'ltcir': '⩹',
1223
'gtcir': '⩺',
1224
'ltquest': '⩻',
1225
'gtquest': '⩼',
1226
'les': '⩽',
1227
'ges': '⩾',
1228
'lesdot': '⩿',
1229
'gesdot': '⪀',
1230
'lesdoto': '⪁',
1231
'gesdoto': '⪂',
1232
'lesdotor': '⪃',
1233
'gesdotol': '⪄',
1234
'lessapprox': '⪅',
1235
'gtrapprox': '⪆',
1236
'lneq': '⪇',
1237
'gneq': '⪈',
1238
'lnapprox': '⪉',
1239
'gnapprox': '⪊',
1240
'lesseqqgtr': '⪋',
1241
'gtreqqless': '⪌',
1242
'lsime': '⪍',
1243
'gsime': '⪎',
1244
'lsimg': '⪏',
1245
'gsiml': '⪐',
1246
'lgE': '⪑',
1247
'glE': '⪒',
1248
'lesges': '⪓',
1249
'gesles': '⪔',
1250
'eqslantless': '⪕',
1251
'eqslantgtr': '⪖',
1252
'elsdot': '⪗',
1253
'egsdot': '⪘',
1254
'el': '⪙',
1255
'eg': '⪚',
1256
'siml': '⪝',
1257
'simg': '⪞',
1258
'simlE': '⪟',
1259
'simgE': '⪠',
1260
'LessLess': '⪡',
1261
'GreaterGreater': '⪢',
1262
'glj': '⪤',
1263
'gla': '⪥',
1264
'ltcc': '⪦',
1265
'gtcc': '⪧',
1266
'lescc': '⪨',
1267
'gescc': '⪩',
1268
'smt': '⪪',
1269
'lat': '⪫',
1270
'smte': '⪬',
1271
'late': '⪭',
1272
'bumpE': '⪮',
1273
'preceq': '⪯',
1274
'succeq': '⪰',
1275
'prE': '⪳',
1276
'scE': '⪴',
1277
'prnE': '⪵',
1278
'succneqq': '⪶',
1279
'precapprox': '⪷',
1280
'succapprox': '⪸',
1281
'prnap': '⪹',
1282
'succnapprox': '⪺',
1283
'Pr': '⪻',
1284
'Sc': '⪼',
1285
'subdot': '⪽',
1286
'supdot': '⪾',
1287
'subplus': '⪿',
1288
'supplus': '⫀',
1289
'submult': '⫁',
1290
'supmult': '⫂',
1291
'subedot': '⫃',
1292
'supedot': '⫄',
1293
'subseteqq': '⫅',
1294
'supseteqq': '⫆',
1295
'subsim': '⫇',
1296
'supsim': '⫈',
1297
'subsetneqq': '⫋',
1298
'supsetneqq': '⫌',
1299
'csub': '⫏',
1300
'csup': '⫐',
1301
'csube': '⫑',
1302
'csupe': '⫒',
1303
'subsup': '⫓',
1304
'supsub': '⫔',
1305
'subsub': '⫕',
1306
'supsup': '⫖',
1307
'suphsub': '⫗',
1308
'supdsub': '⫘',
1309
'forkv': '⫙',
1310
'topfork': '⫚',
1311
'mlcp': '⫛',
1312
'DoubleLeftTee': '⫤',
1313
'Vdashl': '⫦',
1314
'Barv': '⫧',
1315
'vBar': '⫨',
1316
'vBarv': '⫩',
1317
'Vbar': '⫫',
1318
'Not': '⫬',
1319
'bNot': '⫭',
1320
'rnmid': '⫮',
1321
'cirmid': '⫯',
1322
'midcir': '⫰',
1323
'topcir': '⫱',
1324
'nhpar': '⫲',
1325
'parsim': '⫳',
1326
'parsl': '⫽',
1327
'fflig': 'ff',
1328
'filig': 'fi',
1329
'fllig': 'fl',
1330
'ffilig': 'ffi',
1331
'ffllig': 'ffl',
1332
'Ascr': '풜',
1333
'Cscr': '풞',
1334
'Dscr': '풟',
1335
'Gscr': '풢',
1336
'Jscr': '풥',
1337
'Kscr': '풦',
1338
'Nscr': '풩',
1339
'Oscr': '풪',
1340
'Pscr': '풫',
1341
'Qscr': '풬',
1342
'Sscr': '풮',
1343
'Tscr': '풯',
1344
'Uscr': '풰',
1345
'Vscr': '풱',
1346
'Wscr': '풲',
1347
'Xscr': '풳',
1348
'Yscr': '풴',
1349
'Zscr': '풵',
1350
'ascr': '풶',
1351
'bscr': '풷',
1352
'cscr': '풸',
1353
'dscr': '풹',
1354
'fscr': '풻',
1355
'hscr': '풽',
1356
'iscr': '풾',
1357
'jscr': '풿',
1358
'kscr': '퓀',
1359
'lscr': '퓁',
1360
'mscr': '퓂',
1361
'nscr': '퓃',
1362
'pscr': '퓅',
1363
'qscr': '퓆',
1364
'rscr': '퓇',
1365
'sscr': '퓈',
1366
'tscr': '퓉',
1367
'uscr': '퓊',
1368
'vscr': '퓋',
1369
'wscr': '퓌',
1370
'xscr': '퓍',
1371
'yscr': '퓎',
1372
'zscr': '퓏',
1373
'Afr': '프',
1374
'Bfr': '픅',
1375
'Dfr': '픇',
1376
'Efr': '픈',
1377
'Ffr': '픉',
1378
'Gfr': '픊',
1379
'Jfr': '픍',
1380
'Kfr': '픎',
1381
'Lfr': '픏',
1382
'Mfr': '픐',
1383
'Nfr': '픑',
1384
'Ofr': '픒',
1385
'Pfr': '픓',
1386
'Qfr': '픔',
1387
'Sfr': '픖',
1388
'Tfr': '픗',
1389
'Ufr': '픘',
1390
'Vfr': '픙',
1391
'Wfr': '픚',
1392
'Xfr': '픛',
1393
'Yfr': '픜',
1394
'afr': '픞',
1395
'bfr': '픟',
1396
'cfr': '픠',
1397
'dfr': '픡',
1398
'efr': '픢',
1399
'ffr': '픣',
1400
'gfr': '픤',
1401
'hfr': '픥',
1402
'ifr': '픦',
1403
'jfr': '픧',
1404
'kfr': '픨',
1405
'lfr': '픩',
1406
'mfr': '픪',
1407
'nfr': '픫',
1408
'ofr': '픬',
1409
'pfr': '픭',
1410
'qfr': '픮',
1411
'rfr': '픯',
1412
'sfr': '픰',
1413
'tfr': '픱',
1414
'ufr': '픲',
1415
'vfr': '픳',
1416
'wfr': '픴',
1417
'xfr': '픵',
1418
'yfr': '픶',
1419
'zfr': '픷',
1420
'Aopf': '픸',
1421
'Bopf': '픹',
1422
'Dopf': '픻',
1423
'Eopf': '피',
1424
'Fopf': '픽',
1425
'Gopf': '픾',
1426
'Iopf': '핀',
1427
'Jopf': '핁',
1428
'Kopf': '핂',
1429
'Lopf': '핃',
1430
'Mopf': '필',
1431
'Oopf': '핆',
1432
'Sopf': '핊',
1433
'Topf': '핋',
1434
'Uopf': '핌',
1435
'Vopf': '핍',
1436
'Wopf': '핎',
1437
'Xopf': '핏',
1438
'Yopf': '핐',
1439
'aopf': '핒',
1440
'bopf': '핓',
1441
'copf': '핔',
1442
'dopf': '핕',
1443
'eopf': '핖',
1444
'fopf': '핗',
1445
'gopf': '하',
1446
'hopf': '학',
1447
'iopf': '핚',
1448
'jopf': '핛',
1449
'kopf': '한',
1450
'lopf': '핝',
1451
'mopf': '핞',
1452
'nopf': '핟',
1453
'oopf': '할',
1454
'popf': '핡',
1455
'qopf': '핢',
1456
'ropf': '핣',
1457
'sopf': '핤',
1458
'topf': '핥',
1459
'uopf': '핦',
1460
'vopf': '핧',
1461
'wopf': '함',
1462
'xopf': '합',
1463
'yopf': '핪',
1464
'zopf': '핫'
1465
};
1466
1467
var specialCharEntities = {
1468
'&': '&amp;',
1469
'"': '&quot;',
1470
'<': '&lt;',
1471
'>': '&gt;',
1472
'\xA0': '&nbsp;'
1473
};
1474
1475
var entityRegExp = /&(?:#([0-9]+)|#x([0-9a-f]+)|([a-z0-9]+));/gi;
1476
var attributeModeSpecialCharRegExp = /["&<>\xA0]/g;
1477
var nonAttributeModeSpecialCharRegExp = /[&<>\xA0]/g;
1478
1479
exports.HTMLDecode = function decode(s) {
1480
if (!s) return '';
1481
return s.replace(entityRegExp, function ($0, decimalStr, hexStr, entityName) {
1482
if (decimalStr) {
1483
return String.fromCharCode(parseInt(decimalStr, 10));
1484
} else if (hexStr) {
1485
return String.fromCharCode(parseInt(hexStr, 16));
1486
} else {
1487
// Fall back to the original string if we don't know the entity, as per browser behavior:
1488
return charByEntityName[entityName] || $0;
1489
}
1490
});
1491
};
1492
1493
function specialCharToEntity(s) {
1494
var entity = specialCharEntities[s];
1495
return entity ? entity : s;
1496
}
1497
1498
exports.HTMLEncode = function encode(s, attributeMode) {
1499
if (!s) return '';
1500
if (!s.replace) return s;
1501
if(attributeMode) {
1502
return s.replace(attributeModeSpecialCharRegExp, specialCharToEntity);
1503
} else {
1504
return s.replace(nonAttributeModeSpecialCharRegExp, specialCharToEntity);
1505
}
1506
};
1507
1508