@tamagui/code-to-html 1.89.28 → 1.89.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/index.native.js +133 -28
- package/dist/esm/index.native.js.map +1 -1
- package/package.json +2 -2
package/dist/esm/index.native.js
CHANGED
|
@@ -191,6 +191,7 @@ var require_unicode = __commonJS({
|
|
|
191
191
|
45,
|
|
192
192
|
45
|
|
193
193
|
],
|
|
194
|
+
//--
|
|
194
195
|
DOCTYPE_STRING: [
|
|
195
196
|
68,
|
|
196
197
|
79,
|
|
@@ -200,6 +201,7 @@ var require_unicode = __commonJS({
|
|
|
200
201
|
80,
|
|
201
202
|
69
|
|
202
203
|
],
|
|
204
|
+
//DOCTYPE
|
|
203
205
|
CDATA_START_STRING: [
|
|
204
206
|
91,
|
|
205
207
|
67,
|
|
@@ -209,6 +211,7 @@ var require_unicode = __commonJS({
|
|
|
209
211
|
65,
|
|
210
212
|
91
|
|
211
213
|
],
|
|
214
|
+
//[CDATA[
|
|
212
215
|
SCRIPT_STRING: [
|
|
213
216
|
115,
|
|
214
217
|
99,
|
|
@@ -217,6 +220,7 @@ var require_unicode = __commonJS({
|
|
|
217
220
|
112,
|
|
218
221
|
116
|
|
219
222
|
],
|
|
223
|
+
//script
|
|
220
224
|
PUBLIC_STRING: [
|
|
221
225
|
80,
|
|
222
226
|
85,
|
|
@@ -225,6 +229,7 @@ var require_unicode = __commonJS({
|
|
|
225
229
|
73,
|
|
226
230
|
67
|
|
227
231
|
],
|
|
232
|
+
//PUBLIC
|
|
228
233
|
SYSTEM_STRING: [
|
|
229
234
|
83,
|
|
230
235
|
89,
|
|
@@ -233,7 +238,6 @@ var require_unicode = __commonJS({
|
|
|
233
238
|
69,
|
|
234
239
|
77
|
|
235
240
|
]
|
|
236
|
-
//SYSTEM
|
|
237
241
|
};
|
|
238
242
|
exports.isSurrogate = function(cp) {
|
|
239
243
|
return cp >= 55296 && cp <= 57343;
|
|
@@ -350,6 +354,7 @@ var require_preprocessor = __commonJS({
|
|
|
350
354
|
}
|
|
351
355
|
},
|
|
352
356
|
{
|
|
357
|
+
// NOTE: err reporting is noop by default. Enabled by mixin.
|
|
353
358
|
key: "_addGap",
|
|
354
359
|
value: function() {
|
|
355
360
|
this.gapStack.push(this.lastGapPos), this.lastGapPos = this.pos;
|
|
@@ -20038,6 +20043,7 @@ var require_tokenizer = __commonJS({
|
|
|
20038
20043
|
}
|
|
20039
20044
|
},
|
|
20040
20045
|
{
|
|
20046
|
+
// NOTE: err reporting is noop by default. Enabled by mixin.
|
|
20041
20047
|
key: "_errOnNextCodePoint",
|
|
20042
20048
|
value: function(err) {
|
|
20043
20049
|
this._consume(), this._err(err), this._unconsume();
|
|
@@ -23402,6 +23408,7 @@ var require_parser = __commonJS({
|
|
|
23402
23408
|
}
|
|
23403
23409
|
},
|
|
23404
23410
|
{
|
|
23411
|
+
// NOTE: err reporting is noop by default. Enabled by mixin.
|
|
23405
23412
|
//Parsing loop
|
|
23406
23413
|
key: "_runParsingLoop",
|
|
23407
23414
|
value: function(scriptHandler) {
|
|
@@ -24921,58 +24928,111 @@ var html = create({
|
|
|
24921
24928
|
// Legacy.
|
|
24922
24929
|
// See: https://html.spec.whatwg.org/#other-elements,-attributes-and-apis
|
|
24923
24930
|
align: null,
|
|
24931
|
+
// Several. Use CSS `text-align` instead,
|
|
24924
24932
|
aLink: null,
|
|
24933
|
+
// `<body>`. Use CSS `a:active {color}` instead
|
|
24925
24934
|
archive: spaceSeparated,
|
|
24935
|
+
// `<object>`. List of URIs to archives
|
|
24926
24936
|
axis: null,
|
|
24937
|
+
// `<td>` and `<th>`. Use `scope` on `<th>`
|
|
24927
24938
|
background: null,
|
|
24939
|
+
// `<body>`. Use CSS `background-image` instead
|
|
24928
24940
|
bgColor: null,
|
|
24941
|
+
// `<body>` and table elements. Use CSS `background-color` instead
|
|
24929
24942
|
border: number,
|
|
24943
|
+
// `<table>`. Use CSS `border-width` instead,
|
|
24930
24944
|
borderColor: null,
|
|
24945
|
+
// `<table>`. Use CSS `border-color` instead,
|
|
24931
24946
|
bottomMargin: number,
|
|
24947
|
+
// `<body>`
|
|
24932
24948
|
cellPadding: null,
|
|
24949
|
+
// `<table>`
|
|
24933
24950
|
cellSpacing: null,
|
|
24951
|
+
// `<table>`
|
|
24934
24952
|
char: null,
|
|
24953
|
+
// Several table elements. When `align=char`, sets the character to align on
|
|
24935
24954
|
charOff: null,
|
|
24955
|
+
// Several table elements. When `char`, offsets the alignment
|
|
24936
24956
|
classId: null,
|
|
24957
|
+
// `<object>`
|
|
24937
24958
|
clear: null,
|
|
24959
|
+
// `<br>`. Use CSS `clear` instead
|
|
24938
24960
|
code: null,
|
|
24961
|
+
// `<object>`
|
|
24939
24962
|
codeBase: null,
|
|
24963
|
+
// `<object>`
|
|
24940
24964
|
codeType: null,
|
|
24965
|
+
// `<object>`
|
|
24941
24966
|
color: null,
|
|
24967
|
+
// `<font>` and `<hr>`. Use CSS instead
|
|
24942
24968
|
compact: boolean,
|
|
24969
|
+
// Lists. Use CSS to reduce space between items instead
|
|
24943
24970
|
declare: boolean,
|
|
24971
|
+
// `<object>`
|
|
24944
24972
|
event: null,
|
|
24973
|
+
// `<script>`
|
|
24945
24974
|
face: null,
|
|
24975
|
+
// `<font>`. Use CSS instead
|
|
24946
24976
|
frame: null,
|
|
24977
|
+
// `<table>`
|
|
24947
24978
|
frameBorder: null,
|
|
24979
|
+
// `<iframe>`. Use CSS `border` instead
|
|
24948
24980
|
hSpace: number,
|
|
24981
|
+
// `<img>` and `<object>`
|
|
24949
24982
|
leftMargin: number,
|
|
24983
|
+
// `<body>`
|
|
24950
24984
|
link: null,
|
|
24985
|
+
// `<body>`. Use CSS `a:link {color: *}` instead
|
|
24951
24986
|
longDesc: null,
|
|
24987
|
+
// `<frame>`, `<iframe>`, and `<img>`. Use an `<a>`
|
|
24952
24988
|
lowSrc: null,
|
|
24989
|
+
// `<img>`. Use a `<picture>`
|
|
24953
24990
|
marginHeight: number,
|
|
24991
|
+
// `<body>`
|
|
24954
24992
|
marginWidth: number,
|
|
24993
|
+
// `<body>`
|
|
24955
24994
|
noResize: boolean,
|
|
24995
|
+
// `<frame>`
|
|
24956
24996
|
noHref: boolean,
|
|
24997
|
+
// `<area>`. Use no href instead of an explicit `nohref`
|
|
24957
24998
|
noShade: boolean,
|
|
24999
|
+
// `<hr>`. Use background-color and height instead of borders
|
|
24958
25000
|
noWrap: boolean,
|
|
25001
|
+
// `<td>` and `<th>`
|
|
24959
25002
|
object: null,
|
|
25003
|
+
// `<applet>`
|
|
24960
25004
|
profile: null,
|
|
25005
|
+
// `<head>`
|
|
24961
25006
|
prompt: null,
|
|
25007
|
+
// `<isindex>`
|
|
24962
25008
|
rev: null,
|
|
25009
|
+
// `<link>`
|
|
24963
25010
|
rightMargin: number,
|
|
25011
|
+
// `<body>`
|
|
24964
25012
|
rules: null,
|
|
25013
|
+
// `<table>`
|
|
24965
25014
|
scheme: null,
|
|
25015
|
+
// `<meta>`
|
|
24966
25016
|
scrolling: booleanish,
|
|
25017
|
+
// `<frame>`. Use overflow in the child context
|
|
24967
25018
|
standby: null,
|
|
25019
|
+
// `<object>`
|
|
24968
25020
|
summary: null,
|
|
25021
|
+
// `<table>`
|
|
24969
25022
|
text: null,
|
|
25023
|
+
// `<body>`. Use CSS `color` instead
|
|
24970
25024
|
topMargin: number,
|
|
25025
|
+
// `<body>`
|
|
24971
25026
|
valueType: null,
|
|
25027
|
+
// `<param>`
|
|
24972
25028
|
version: null,
|
|
25029
|
+
// `<html>`. Use a doctype.
|
|
24973
25030
|
vAlign: null,
|
|
25031
|
+
// Several. Use CSS `vertical-align` instead
|
|
24974
25032
|
vLink: null,
|
|
25033
|
+
// `<body>`. Use CSS `a:visited {color}` instead
|
|
24975
25034
|
vSpace: number,
|
|
25035
|
+
// `<img>` and `<object>`
|
|
24976
25036
|
// Non-standard Properties.
|
|
24977
25037
|
allowTransparency: null,
|
|
24978
25038
|
autoCorrect: null,
|
|
@@ -25281,8 +25341,11 @@ var svg = create({
|
|
|
25281
25341
|
kernelMatrix: commaOrSpaceSeparated,
|
|
25282
25342
|
kernelUnitLength: null,
|
|
25283
25343
|
keyPoints: null,
|
|
25344
|
+
// SEMI_COLON_SEPARATED
|
|
25284
25345
|
keySplines: null,
|
|
25346
|
+
// SEMI_COLON_SEPARATED
|
|
25285
25347
|
keyTimes: null,
|
|
25348
|
+
// SEMI_COLON_SEPARATED
|
|
25286
25349
|
kerning: null,
|
|
25287
25350
|
lang: null,
|
|
25288
25351
|
lengthAdjust: null,
|
|
@@ -26088,7 +26151,8 @@ function toNamed(code, next, omit, attribute) {
|
|
|
26088
26151
|
var character = String.fromCharCode(code);
|
|
26089
26152
|
if (own3.call(characters, character)) {
|
|
26090
26153
|
var name = characters[character], value = "&" + name;
|
|
26091
|
-
return omit && characterEntitiesLegacy.includes(name) && !dangerous.includes(name) && (!attribute || next && next !== 61 &&
|
|
26154
|
+
return omit && characterEntitiesLegacy.includes(name) && !dangerous.includes(name) && (!attribute || next && next !== 61 && /* `=` */
|
|
26155
|
+
/[^\da-z]/i.test(String.fromCharCode(next))) ? value : value + ";";
|
|
26092
26156
|
}
|
|
26093
26157
|
return "";
|
|
26094
26158
|
}
|
|
@@ -26202,7 +26266,10 @@ function stringify2(values) {
|
|
|
26202
26266
|
function whitespace(thing) {
|
|
26203
26267
|
var value = (
|
|
26204
26268
|
// @ts-expect-error looks like a node.
|
|
26205
|
-
thing && typeof thing == "object" && thing.type === "text" ?
|
|
26269
|
+
thing && typeof thing == "object" && thing.type === "text" ? (
|
|
26270
|
+
// @ts-expect-error looks like a text.
|
|
26271
|
+
thing.value || ""
|
|
26272
|
+
) : thing
|
|
26206
26273
|
);
|
|
26207
26274
|
return typeof value == "string" && value.replace(/[ \t\n\f\r]/g, "") === "";
|
|
26208
26275
|
}
|
|
@@ -26768,7 +26835,6 @@ function bash(Prism2) {
|
|
|
26768
26835
|
alias: "punctuation",
|
|
26769
26836
|
// this looks reasonably well in all themes
|
|
26770
26837
|
inside: null
|
|
26771
|
-
// see below
|
|
26772
26838
|
}, insideString = {
|
|
26773
26839
|
bash: commandAfterHeredoc,
|
|
26774
26840
|
environment: {
|
|
@@ -27405,8 +27471,8 @@ function markup(Prism2) {
|
|
|
27405
27471
|
lookbehind: !0,
|
|
27406
27472
|
greedy: !0,
|
|
27407
27473
|
inside: null
|
|
27408
|
-
// see below
|
|
27409
27474
|
},
|
|
27475
|
+
// see below
|
|
27410
27476
|
string: {
|
|
27411
27477
|
pattern: /"[^"]*"|'[^']*'/,
|
|
27412
27478
|
greedy: !0
|
|
@@ -27572,6 +27638,7 @@ function css(Prism2) {
|
|
|
27572
27638
|
}
|
|
27573
27639
|
}
|
|
27574
27640
|
},
|
|
27641
|
+
// See rest below
|
|
27575
27642
|
url: {
|
|
27576
27643
|
// https://drafts.csswg.org/css-values-3/#urls
|
|
27577
27644
|
pattern: RegExp("\\burl\\((?:" + string.source + "|" + /(?:[^\\\r\n()"']|\\[\s\S])*/.source + ")\\)", "i"),
|
|
@@ -28548,8 +28615,8 @@ function markdown(Prism2) {
|
|
|
28548
28615
|
pattern: /(^..)[\s\S]+(?=..$)/,
|
|
28549
28616
|
lookbehind: !0,
|
|
28550
28617
|
inside: {}
|
|
28551
|
-
// see below
|
|
28552
28618
|
},
|
|
28619
|
+
// see below
|
|
28553
28620
|
punctuation: /\*\*|__/
|
|
28554
28621
|
}
|
|
28555
28622
|
},
|
|
@@ -28565,8 +28632,8 @@ function markdown(Prism2) {
|
|
|
28565
28632
|
pattern: /(^.)[\s\S]+(?=.$)/,
|
|
28566
28633
|
lookbehind: !0,
|
|
28567
28634
|
inside: {}
|
|
28568
|
-
// see below
|
|
28569
28635
|
},
|
|
28636
|
+
// see below
|
|
28570
28637
|
punctuation: /[*_]/
|
|
28571
28638
|
}
|
|
28572
28639
|
},
|
|
@@ -28582,8 +28649,8 @@ function markdown(Prism2) {
|
|
|
28582
28649
|
pattern: /(^~~?)[\s\S]+(?=\1$)/,
|
|
28583
28650
|
lookbehind: !0,
|
|
28584
28651
|
inside: {}
|
|
28585
|
-
// see below
|
|
28586
28652
|
},
|
|
28653
|
+
// see below
|
|
28587
28654
|
punctuation: /~~?/
|
|
28588
28655
|
}
|
|
28589
28656
|
},
|
|
@@ -28611,8 +28678,8 @@ function markdown(Prism2) {
|
|
|
28611
28678
|
pattern: /(^\[)[^\]]+(?=\])/,
|
|
28612
28679
|
lookbehind: !0,
|
|
28613
28680
|
inside: {}
|
|
28614
|
-
// see below
|
|
28615
28681
|
},
|
|
28682
|
+
// see below
|
|
28616
28683
|
variable: {
|
|
28617
28684
|
pattern: /(^\][ \t]?\[)[^\]]+(?=\]$)/,
|
|
28618
28685
|
lookbehind: !0
|
|
@@ -29585,9 +29652,9 @@ function rust(Prism2) {
|
|
|
29585
29652
|
alias: "attr-name",
|
|
29586
29653
|
inside: {
|
|
29587
29654
|
string: null
|
|
29588
|
-
// see below
|
|
29589
29655
|
}
|
|
29590
29656
|
},
|
|
29657
|
+
// see below
|
|
29591
29658
|
// Closure params should not be confused with bitwise OR |
|
|
29592
29659
|
"closure-params": {
|
|
29593
29660
|
pattern: /([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,
|
|
@@ -29599,9 +29666,9 @@ function rust(Prism2) {
|
|
|
29599
29666
|
alias: "punctuation"
|
|
29600
29667
|
},
|
|
29601
29668
|
rest: null
|
|
29602
|
-
// see below
|
|
29603
29669
|
}
|
|
29604
29670
|
},
|
|
29671
|
+
// see below
|
|
29605
29672
|
"lifetime-annotation": {
|
|
29606
29673
|
pattern: /'\w+/,
|
|
29607
29674
|
alias: "symbol"
|
|
@@ -29753,6 +29820,7 @@ function scss(Prism2) {
|
|
|
29753
29820
|
rule: /@[\w-]+/
|
|
29754
29821
|
}
|
|
29755
29822
|
},
|
|
29823
|
+
// See rest below
|
|
29756
29824
|
// url, compassified
|
|
29757
29825
|
url: /(?:[-a-z]+-)?url(?=\()/i,
|
|
29758
29826
|
// CSS selector regex is not appropriate for Sass
|
|
@@ -29879,8 +29947,8 @@ function swift(Prism2) {
|
|
|
29879
29947
|
pattern: /(\\\()(?:[^()]|\([^()]*\))*(?=\))/,
|
|
29880
29948
|
lookbehind: !0,
|
|
29881
29949
|
inside: null
|
|
29882
|
-
// see below
|
|
29883
29950
|
},
|
|
29951
|
+
// see below
|
|
29884
29952
|
"interpolation-punctuation": {
|
|
29885
29953
|
pattern: /^\)|\\\($/,
|
|
29886
29954
|
alias: "punctuation"
|
|
@@ -29900,8 +29968,8 @@ function swift(Prism2) {
|
|
|
29900
29968
|
pattern: /(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,
|
|
29901
29969
|
lookbehind: !0,
|
|
29902
29970
|
inside: null
|
|
29903
|
-
// see below
|
|
29904
29971
|
},
|
|
29972
|
+
// see below
|
|
29905
29973
|
"interpolation-punctuation": {
|
|
29906
29974
|
pattern: /^\)|\\#+\($/,
|
|
29907
29975
|
alias: "punctuation"
|
|
@@ -29987,8 +30055,8 @@ function typescript(Prism2) {
|
|
|
29987
30055
|
lookbehind: !0,
|
|
29988
30056
|
greedy: !0,
|
|
29989
30057
|
inside: null
|
|
29990
|
-
// see below
|
|
29991
30058
|
},
|
|
30059
|
+
// see below
|
|
29992
30060
|
builtin: /\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/
|
|
29993
30061
|
}), Prism3.languages.typescript.keyword.push(
|
|
29994
30062
|
/\b(?:abstract|declare|is|keyof|readonly|require)\b/,
|
|
@@ -30297,13 +30365,19 @@ function isDecimal(character) {
|
|
|
30297
30365
|
// ../../node_modules/is-hexadecimal/index.js
|
|
30298
30366
|
function isHexadecimal(character) {
|
|
30299
30367
|
var code = typeof character == "string" ? character.charCodeAt(0) : character;
|
|
30300
|
-
return code >= 97 &&
|
|
30368
|
+
return code >= 97 && /* a */
|
|
30369
|
+
code <= 102 || /* z */
|
|
30370
|
+
code >= 65 && /* A */
|
|
30371
|
+
code <= 70 || /* Z */
|
|
30372
|
+
code >= 48 && /* A */
|
|
30373
|
+
code <= 57;
|
|
30301
30374
|
}
|
|
30302
30375
|
|
|
30303
30376
|
// ../../node_modules/is-alphabetical/index.js
|
|
30304
30377
|
function isAlphabetical(character) {
|
|
30305
30378
|
var code = typeof character == "string" ? character.charCodeAt(0) : character;
|
|
30306
|
-
return code >= 97 && code <= 122 ||
|
|
30379
|
+
return code >= 97 && code <= 122 || /* a-z */
|
|
30380
|
+
code >= 65 && code <= 90;
|
|
30307
30381
|
}
|
|
30308
30382
|
|
|
30309
30383
|
// ../../node_modules/is-alphanumerical/index.js
|
|
@@ -32472,7 +32546,13 @@ function parseEntities(value) {
|
|
|
32472
32546
|
for (index2--; ++index2 <= value.length; )
|
|
32473
32547
|
if (character === 10 && (column = (indent ? indent[lines] : 0) || 1), character = value.charCodeAt(index2), character === 38) {
|
|
32474
32548
|
var following = value.charCodeAt(index2 + 1);
|
|
32475
|
-
if (following === 9 ||
|
|
32549
|
+
if (following === 9 || /* `\t` */
|
|
32550
|
+
following === 10 || /* `\n` */
|
|
32551
|
+
following === 12 || /* `\f` */
|
|
32552
|
+
following === 32 || /* ` ` */
|
|
32553
|
+
following === 38 || /* `&` */
|
|
32554
|
+
following === 60 || /* `<` */
|
|
32555
|
+
Number.isNaN(following) || additional && following === additional) {
|
|
32476
32556
|
queue += fromCharCode(character), column++;
|
|
32477
32557
|
continue;
|
|
32478
32558
|
}
|
|
@@ -32480,7 +32560,8 @@ function parseEntities(value) {
|
|
|
32480
32560
|
if (following === 35) {
|
|
32481
32561
|
end = ++begin;
|
|
32482
32562
|
var following1 = value.charCodeAt(end);
|
|
32483
|
-
following1 === 88 ||
|
|
32563
|
+
following1 === 88 || /* `X` */
|
|
32564
|
+
following1 === 120 ? (type2 = "hexadecimal", end = ++begin) : type2 = "decimal";
|
|
32484
32565
|
} else
|
|
32485
32566
|
type2 = "named";
|
|
32486
32567
|
var characterReferenceCharacters = "", characterReference = "", characters2 = "", test = type2 === "named" ? isAlphanumerical : type2 === "decimal" ? isDecimal : isHexadecimal;
|
|
@@ -32499,12 +32580,23 @@ function parseEntities(value) {
|
|
|
32499
32580
|
var diff2 = 1 + end - start, reference = "";
|
|
32500
32581
|
if (!(!terminated && options.nonTerminated === !1))
|
|
32501
32582
|
if (!characters2)
|
|
32502
|
-
type2 !== "named" && warning(
|
|
32583
|
+
type2 !== "named" && warning(
|
|
32584
|
+
4,
|
|
32585
|
+
/* Empty (numeric) */
|
|
32586
|
+
diff2
|
|
32587
|
+
);
|
|
32503
32588
|
else if (type2 === "named") {
|
|
32504
32589
|
if (terminated && !characterReference)
|
|
32505
|
-
warning(
|
|
32590
|
+
warning(
|
|
32591
|
+
5,
|
|
32592
|
+
/* Unknown (named) */
|
|
32593
|
+
1
|
|
32594
|
+
);
|
|
32506
32595
|
else if (characterReferenceCharacters !== characters2 && (end = begin + characterReferenceCharacters.length, diff2 = 1 + end - begin, terminated = !1), !terminated) {
|
|
32507
|
-
var reason = characterReferenceCharacters ? 1 :
|
|
32596
|
+
var reason = characterReferenceCharacters ? 1 : (
|
|
32597
|
+
/* Non terminated (named) */
|
|
32598
|
+
3
|
|
32599
|
+
);
|
|
32508
32600
|
if (options.attribute) {
|
|
32509
32601
|
var following3 = value.charCodeAt(end);
|
|
32510
32602
|
following3 === 61 ? (warning(reason, diff2), characterReference = "") : isAlphanumerical(following3) ? characterReference = "" : warning(reason, diff2);
|
|
@@ -32513,18 +32605,31 @@ function parseEntities(value) {
|
|
|
32513
32605
|
}
|
|
32514
32606
|
reference = characterReference;
|
|
32515
32607
|
} else {
|
|
32516
|
-
terminated || warning(
|
|
32608
|
+
terminated || warning(
|
|
32609
|
+
2,
|
|
32610
|
+
/* Non terminated (numeric) */
|
|
32611
|
+
diff2
|
|
32612
|
+
);
|
|
32517
32613
|
var referenceCode = Number.parseInt(characters2, type2 === "hexadecimal" ? 16 : 10);
|
|
32518
32614
|
if (prohibited(referenceCode))
|
|
32519
|
-
warning(
|
|
32520
|
-
|
|
32521
|
-
/*
|
|
32522
|
-
|
|
32615
|
+
warning(
|
|
32616
|
+
7,
|
|
32617
|
+
/* Prohibited (numeric) */
|
|
32618
|
+
diff2
|
|
32619
|
+
), reference = fromCharCode(65533);
|
|
32523
32620
|
else if (referenceCode in characterReferenceInvalid)
|
|
32524
|
-
warning(
|
|
32621
|
+
warning(
|
|
32622
|
+
6,
|
|
32623
|
+
/* Disallowed (numeric) */
|
|
32624
|
+
diff2
|
|
32625
|
+
), reference = characterReferenceInvalid[referenceCode];
|
|
32525
32626
|
else {
|
|
32526
32627
|
var output = "";
|
|
32527
|
-
disallowed(referenceCode) && warning(
|
|
32628
|
+
disallowed(referenceCode) && warning(
|
|
32629
|
+
6,
|
|
32630
|
+
/* Disallowed (numeric) */
|
|
32631
|
+
diff2
|
|
32632
|
+
), referenceCode > 65535 && (referenceCode -= 65536, output += fromCharCode(referenceCode >>> 10 | 55296), referenceCode = 56320 | referenceCode & 1023), reference = output + fromCharCode(referenceCode);
|
|
32528
32633
|
}
|
|
32529
32634
|
}
|
|
32530
32635
|
if (reference) {
|