OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libgo/] [go/] [html/] [template/] [escape_test.go] - Blame information for rev 760

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 747 jeremybenn
// Copyright 2011 The Go Authors. All rights reserved.
2
// Use of this source code is governed by a BSD-style
3
// license that can be found in the LICENSE file.
4
 
5
package template
6
 
7
import (
8
        "bytes"
9
        "encoding/json"
10
        "fmt"
11
        "strings"
12
        "testing"
13
        "text/template"
14
        "text/template/parse"
15
)
16
 
17
type badMarshaler struct{}
18
 
19
func (x *badMarshaler) MarshalJSON() ([]byte, error) {
20
        // Keys in valid JSON must be double quoted as must all strings.
21
        return []byte("{ foo: 'not quite valid JSON' }"), nil
22
}
23
 
24
type goodMarshaler struct{}
25
 
26
func (x *goodMarshaler) MarshalJSON() ([]byte, error) {
27
        return []byte(`{ "": "O'Reilly" }`), nil
28
}
29
 
30
func TestEscape(t *testing.T) {
31
        data := struct {
32
                F, T    bool
33
                C, G, H string
34
                A, E    []string
35
                B, M    json.Marshaler
36
                N       int
37
                Z       *int
38
                W       HTML
39
        }{
40
                F: false,
41
                T: true,
42
                C: "",
43
                G: "",
44
                H: "",
45
                A: []string{"", ""},
46
                E: []string{},
47
                N: 42,
48
                B: &badMarshaler{},
49
                M: &goodMarshaler{},
50
                Z: nil,
51
                W: HTML(`¡Hello, !`),
52
        }
53
        pdata := &data
54
 
55
        tests := []struct {
56
                name   string
57
                input  string
58
                output string
59
        }{
60
                {
61
                        "if",
62
                        "{{if .T}}Hello{{end}}, {{.C}}!",
63
                        "Hello, <Cincinatti>!",
64
                },
65
                {
66
                        "else",
67
                        "{{if .F}}{{.H}}{{else}}{{.G}}{{end}}!",
68
                        "<Goodbye>!",
69
                },
70
                {
71
                        "overescaping1",
72
                        "Hello, {{.C | html}}!",
73
                        "Hello, <Cincinatti>!",
74
                },
75
                {
76
                        "overescaping2",
77
                        "Hello, {{html .C}}!",
78
                        "Hello, <Cincinatti>!",
79
                },
80
                {
81
                        "overescaping3",
82
                        "{{with .C}}{{$msg := .}}Hello, {{$msg}}!{{end}}",
83
                        "Hello, <Cincinatti>!",
84
                },
85
                {
86
                        "assignment",
87
                        "{{if $x := .H}}{{$x}}{{end}}",
88
                        "<Hello>",
89
                },
90
                {
91
                        "withBody",
92
                        "{{with .H}}{{.}}{{end}}",
93
                        "<Hello>",
94
                },
95
                {
96
                        "withElse",
97
                        "{{with .E}}{{.}}{{else}}{{.H}}{{end}}",
98
                        "<Hello>",
99
                },
100
                {
101
                        "rangeBody",
102
                        "{{range .A}}{{.}}{{end}}",
103
                        "<a><b>",
104
                },
105
                {
106
                        "rangeElse",
107
                        "{{range .E}}{{.}}{{else}}{{.H}}{{end}}",
108
                        "<Hello>",
109
                },
110
                {
111
                        "nonStringValue",
112
                        "{{.T}}",
113
                        "true",
114
                },
115
                {
116
                        "constant",
117
                        ``,
118
                        ``,
119
                },
120
                {
121
                        "multipleAttrs",
122
                        "",
123
                        "",
124
                },
125
                {
126
                        "urlStartRel",
127
                        ``,
128
                        ``,
129
                },
130
                {
131
                        "urlStartAbsOk",
132
                        ``,
133
                        ``,
134
                },
135
                {
136
                        "protocolRelativeURLStart",
137
                        ``,
138
                        ``,
139
                },
140
                {
141
                        "pathRelativeURLStart",
142
                        ``,
143
                        ``,
144
                },
145
                {
146
                        "dangerousURLStart",
147
                        ``,
148
                        ``,
149
                },
150
                {
151
                        "dangerousURLStart2",
152
                        ``,
153
                        ``,
154
                },
155
                {
156
                        "nonHierURL",
157
                        `"}}>`,
158
                        ``,
159
                },
160
                {
161
                        "urlPath",
162
                        ``,
163
                        ``,
164
                },
165
                {
166
                        "urlQuery",
167
                        ``,
168
                        ``,
169
                },
170
                {
171
                        "urlFragment",
172
                        ``,
173
                        ``,
174
                },
175
                {
176
                        "urlBranch",
177
                        ``,
178
                        ``,
179
                },
180
                {
181
                        "urlBranchConflictMoot",
182
                        ``,
183
                        ``,
184
                },
185
                {
186
                        "jsStrValue",
187
                        "
188
                        `
189
                },
190
                {
191
                        "jsNumericValue",
192
                        "
193
                        `
194
                },
195
                {
196
                        "jsBoolValue",
197
                        "
198
                        `
199
                },
200
                {
201
                        "jsNilValue",
202
                        "
203
                        `
204
                },
205
                {
206
                        "jsObjValue",
207
                        "
208
                        `
209
                },
210
                {
211
                        "jsObjValueScript",
212
                        "",
213
                        ``,
214
                },
215
                {
216
                        "jsObjValueNotOverEscaped",
217
                        "
218
                        `
219
                },
220
                {
221
                        "jsStr",
222
                        "
223
                        `
224
                },
225
                {
226
                        "badMarshaller",
227
                        `
228
                        `
229
                },
230
                {
231
                        "jsMarshaller",
232
                        `
233
                        `
234
                },
235
                {
236
                        "jsStrNotUnderEscaped",
237
                        "
238
                        // URL escaped, then quoted for JS.
239
                        `
240
                },
241
                {
242
                        "jsRe",
243
                        `
244
                        `
245
                },
246
                {
247
                        "jsReBlank",
248
                        ``,
249
                        ``,
250
                },
251
                {
252
                        "jsReAmbigOk",
253
                        ``,
254
                        // The {if} ends in an ambiguous jsCtx but there is
255
                        // no slash following so we shouldn't care.
256
                        ``,
257
                },
258
                {
259
                        "styleBidiKeywordPassed",
260
                        `

`,

261
                        `

`,

262
                },
263
                {
264
                        "styleBidiPropNamePassed",
265
                        `

`,

266
                        `

`,

267
                },
268
                {
269
                        "styleExpressionBlocked",
270
                        `

`,

271
                        `

`,

272
                },
273
                {
274
                        "styleTagSelectorPassed",
275
                        ``,
276
                        ``,
277
                },
278
                {
279
                        "styleIDPassed",
280
                        ``,
281
                        ``,
282
                },
283
                {
284
                        "styleClassPassed",
285
                        ``,
286
                        ``,
287
                },
288
                {
289
                        "styleQuantityPassed",
290
                        ``,
291
                        ``,
292
                },
293
                {
294
                        "stylePctPassed",
295
                        ``,
296
                        ``,
297
                },
298
                {
299
                        "styleColorPassed",
300
                        `

`,

301
                        `

`,

302
                },
303
                {
304
                        "styleObfuscatedExpressionBlocked",
305
                        `

`,

306
                        `

`,

307
                },
308
                {
309
                        "styleMozBindingBlocked",
310
                        `

`,

311
                        `

`,

312
                },
313
                {
314
                        "styleObfuscatedMozBindingBlocked",
315
                        `

`,

316
                        `

`,

317
                },
318
                {
319
                        "styleFontNameString",
320
                        `

`,

321
                        `

`,

322
                },
323
                {
324
                        "styleFontNameString",
325
                        `

`,

326
                        `

`,

327
                },
328
                {
329
                        "styleFontNameUnquoted",
330
                        `

`,

331
                        `

`,

332
                },
333
                {
334
                        "styleURLQueryEncoded",
335
                        `

.png"}})">`,

336
                        `

`,

337
                },
338
                {
339
                        "styleQuotedURLQueryEncoded",
340
                        `

.png"}}')">`,

341
                        `

`,

342
                },
343
                {
344
                        "styleStrQueryEncoded",
345
                        `

.png"}}'">`,

346
                        `

`,

347
                },
348
                {
349
                        "styleURLBadProtocolBlocked",
350
                        ``,
351
                        ``,
352
                },
353
                {
354
                        "styleStrBadProtocolBlocked",
355
                        ``,
356
                        ``,
357
                },
358
                {
359
                        "styleStrEncodedProtocolEncoded",
360
                        ``,
361
                        // The CSS string 'javascript\\3a alert(1337)' does not contains a colon.
362
                        ``,
363
                },
364
                {
365
                        "styleURLGoodProtocolPassed",
366
                        `;{}.html"}}')">`,
367
                        ``,
368
                },
369
                {
370
                        "styleStrGoodProtocolPassed",
371
                        `;{}.html"}}'">`,
372
                        ``,
373
                },
374
                {
375
                        "styleURLEncodedForHTMLInAttr",
376
                        ``,
377
                        ``,
378
                },
379
                {
380
                        "styleURLNotEncodedForHTMLInCdata",
381
                        ``,
382
                        ``,
383
                },
384
                {
385
                        "styleURLMixedCase",
386
                        `

`,

387
                        `

`,

388
                },
389
                {
390
                        "stylePropertyPairPassed",
391
                        ``,
392
                        ``,
393
                },
394
                {
395
                        "styleStrSpecialsEncoded",
396
                        ``,
397
                        ``,
398
                },
399
                {
400
                        "styleURLSpecialsEncoded",
401
                        ``,
402
                        ``,
403
                },
404
                {
405
                        "HTML comment",
406
                        "Hello, {{.C}}",
407
                        "Hello, <Cincinatti>",
408
                },
409
                {
410
                        "HTML comment not first < in text node.",
411
                        "<!--",
412
                        "<!--",
413
                },
414
                {
415
                        "HTML normalization 1",
416
                        "a < b",
417
                        "a < b",
418
                },
419
                {
420
                        "HTML normalization 2",
421
                        "a << b",
422
                        "a << b",
423
                },
424
                {
425
                        "HTML normalization 3",
426
                        "a<b",
427
                        "a<b",
428
                },
429
                {
430
                        "HTML doctype not normalized",
431
                        "Hello, World!",
432
                        "Hello, World!",
433
                },
434
                {
435
                        "No doctype injection",
436
                        `
437
                        "<!DOCTYPE",
438
                },
439
                {
440
                        "Split HTML comment",
441
                        "Hello, {{.C}}{{else}}world -->{{.W}}{{end}}",
442
                        "Hello, <Cincinatti>",
443
                },
444
                {
445
                        "JS line comment",
446
                        "",
448
                        "",
450
                },
451
                {
452
                        "JS multiline block comment",
453
                        "",
455
                        // Newline separates break from call. If newline
456
                        // removed, then break will consume label leaving
457
                        // code invalid.
458
                        "",
460
                },
461
                {
462
                        "JS single-line block comment",
463
                        "",
466
                        // Newline separates break from call. If newline
467
                        // removed, then break will consume label leaving
468
                        // code invalid.
469
                        "",
472
                },
473
                {
474
                        "JS block comment flush with mathematical division",
475
                        "",
476
                        "",
477
                },
478
                {
479
                        "JS mixed comments",
480
                        "",
481
                        "",
482
                },
483
                {
484
                        "CSS comments",
485
                        "`,
487
                        "",
489
                },
490
                {
491
                        "JS attr block comment",
492
                        ``,
493
                        // Attribute comment tests should pass if the comments
494
                        // are successfully elided.
495
                        ``,
496
                },
497
                {
498
                        "JS attr line comment",
499
                        ``,
500
                        ``,
501
                },
502
                {
503
                        "CSS attr block comment",
504
                        ``,
505
                        ``,
506
                },
507
                {
508
                        "CSS attr line comment",
509
                        ``,
510
                        ``,
511
                },
512
                {
513
                        "HTML substitution commented out",
514
                        "

",
515
                        "

",
516
                },
517
                {
518
                        "Comment ends flush with start",
519
                        "",
520
                        "",
521
                },
522
                {
523
                        "typed HTML in text",
524
                        `{{.W}}`,
525
Hello, !`,
526
                },
527
                {
528
                        "typed HTML in attribute",
529
                        `
`,
530
                        `
`,
531
                },
532
                {
533
                        "typed HTML in script",
534
                        `
535
                        `
536
                },
537
                {
538
                        "typed HTML in RCDATA",
539
                        ``,
540
                        ``,
541
                },
542
                {
543
                        "range in textarea",
544
                        "",
545
                        "",
546
                },
547
                {
548
                        "auditable exemption from escaping",
549
                        "{{range .A}}{{. | noescape}}{{end}}",
550
                        "",
551
                },
552
                {
553
                        "No tag injection",
554
                        `{{"10$"}}<{{"script src,evil.org/pwnd.js"}}...`,
555
                        `10$<script src,evil.org/pwnd.js...`,
556
                },
557
                {
558
                        "No comment injection",
559
                        `<{{"!--"}}`,
560
                        `<!--`,
561
                },
562
                {
563
                        "No RCDATA end tag injection",
564
                        ``,
565
                        ``,
566
                },
567
                {
568
                        "optional attrs",
569
                        `
570
                                `{{if .T}} id="{{""}}"{{end}}` +
571
                                // Double quotes inside if/else.
572
                                ` src=` +
573
                                `{{if .T}}"?{{""}}"` +
574
                                `{{else}}"images/cleardot.gif"{{end}}` +
575
                                // Missing space before title, but it is not a
576
                                // part of the src attribute.
577
                                `{{if .T}}title="{{""}}"{{end}}` +</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>578</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                                // Quotes outside if/else.</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>579</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                                ` alt="` +</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>580</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                                `{{if .T}}{{"<alt>"}}` +</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>581</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                                `{{else}}{{if .F}}{{"<title>"}}{{end}}` +</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>582</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                                `{{end}}"` +</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>583</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                                `>`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>584</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<img class="iconClass" id="<iconId>" src="?%3ciconPath%3e"title="<title>" alt="<alt>">`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>585</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>586</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>587</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "conditional valueless attr name",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>588</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<input{{if .T}} checked{{end}} name=n>`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>589</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<input checked name=n>`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>590</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>591</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>592</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "conditional dynamic valueless attr name 1",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>593</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<input{{if .T}} {{"checked"}}{{end}} name=n>`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>594</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<input checked name=n>`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>595</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>596</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>597</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "conditional dynamic valueless attr name 2",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>598</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<input {{if .T}}{{"checked"}} {{end}}name=n>`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>599</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<input checked name=n>`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>600</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>601</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>602</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "dynamic attribute name",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>603</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<img on{{"load"}}="alert({{"loaded"}})">`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>604</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        // Treated as JS since quotes are inserted.</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>605</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<img onload="alert("loaded")">`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>606</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>607</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>608</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "bad dynamic attribute name 1",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>609</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        // Allow checked, selected, disabled, but not JS or</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>610</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        // CSS attributes.</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>611</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<input {{"onchange"}}="{{"doEvil()"}}">`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>612</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<input ZgotmplZ="doEvil()">`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>613</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>614</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>615</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "bad dynamic attribute name 2",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>616</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<div {{"sTyle"}}="{{"color: expression(alert(1337))"}}">`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>617</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<div ZgotmplZ="color: expression(alert(1337))">`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>618</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>619</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>620</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "bad dynamic attribute name 3",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>621</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        // Allow title or alt, but not a URL.</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>622</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<img {{"src"}}="{{"javascript:doEvil()"}}">`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>623</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<img ZgotmplZ="javascript:doEvil()">`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>624</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>625</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>626</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "bad dynamic attribute name 4",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>627</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        // Structure preservation requires values to associate</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>628</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        // with a consistent attribute.</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>629</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<input checked {{""}}="Whose value am I?">`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>630</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<input checked ZgotmplZ="Whose value am I?">`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>631</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>632</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>633</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "dynamic element name",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>634</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<h{{3}}><table><t{{"head"}}>...</h{{3}}>`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>635</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<h3><table><thead>...</h3>`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>636</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>637</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>638</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "bad dynamic element name",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>639</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        // Dynamic element names are typically used to switch</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>640</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        // between (thead, tfoot, tbody), (ul, ol), (th, td),</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>641</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        // and other replaceable sets.</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>642</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        // We do not currently easily support (ul, ol).</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>643</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        // If we do change to support that, this test should</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>644</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        // catch failures to filter out special tag names which</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>645</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        // would violate the structure preservation property --</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>646</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        // if any special tag name could be substituted, then</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>647</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        // the content could be raw text/RCDATA for some inputs</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>648</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        // and regular HTML content for others.</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>649</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<{{"script"}}>{{"doEvil()"}}</{{"script"}}>`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>650</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<script>doEvil()</script>`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>651</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>652</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        }</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>653</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code> </code></pre></td>
      </tr>
      <tr valign="middle">
         <td>654</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        for _, test := range tests {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>655</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                tmpl := New(test.name)</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>656</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                // TODO: Move noescape into template/func.go</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>657</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                tmpl.Funcs(FuncMap{</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>658</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "noescape": func(a ...interface{}) string {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>659</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                                return fmt.Sprint(a...)</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>660</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>661</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                })</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>662</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                tmpl = Must(tmpl.Parse(test.input))</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>663</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                b := new(bytes.Buffer)</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>664</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                if err := tmpl.Execute(b, data); err != nil {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>665</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        t.Errorf("%s: template execution failed: %s", test.name, err)</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>666</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        continue</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>667</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                }</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>668</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                if w, g := test.output, b.String(); w != g {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>669</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        t.Errorf("%s: escaped output: want\n\t%q\ngot\n\t%q", test.name, w, g)</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>670</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        continue</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>671</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                }</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>672</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                b.Reset()</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>673</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                if err := tmpl.Execute(b, pdata); err != nil {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>674</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        t.Errorf("%s: template execution failed for pointer: %s", test.name, err)</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>675</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        continue</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>676</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                }</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>677</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                if w, g := test.output, b.String(); w != g {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>678</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        t.Errorf("%s: escaped output for pointer: want\n\t%q\ngot\n\t%q", test.name, w, g)</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>679</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        continue</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>680</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                }</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>681</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        }</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>682</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>}</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>683</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code> </code></pre></td>
      </tr>
      <tr valign="middle">
         <td>684</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>func TestEscapeSet(t *testing.T) {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>685</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        type dataItem struct {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>686</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                Children []*dataItem</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>687</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                X        string</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>688</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        }</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>689</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code> </code></pre></td>
      </tr>
      <tr valign="middle">
         <td>690</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        data := dataItem{</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>691</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                Children: []*dataItem{</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>692</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        {X: "foo"},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>693</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        {X: "<bar>"},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>694</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>695</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                                Children: []*dataItem{</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>696</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                                        {X: "baz"},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>697</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>698</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>699</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>700</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        }</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>701</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code> </code></pre></td>
      </tr>
      <tr valign="middle">
         <td>702</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        tests := []struct {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>703</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                inputs map[string]string</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>704</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                want   string</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>705</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        }{</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>706</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                // The trivial set.</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>707</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>708</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        map[string]string{</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>709</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                                "main": ``,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>710</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>711</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        ``,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>712</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>713</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                // A template called in the start context.</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>714</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>715</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        map[string]string{</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>716</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                                "main": `Hello, {{template "helper"}}!`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>717</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                                // Not a valid top level HTML template.</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>718</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                                // "<b" is not a full tag.</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>719</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                                "helper": `{{"<World>"}}`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>720</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>721</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `Hello, <World>!`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>722</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>723</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                // A template called in a context other than the start.</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>724</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>725</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        map[string]string{</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>726</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                                "main": `<a onclick='a = {{template "helper"}};'>`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>727</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                                // Not a valid top level HTML template.</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>728</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                                // "<b" is not a full tag.</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>729</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                                "helper": `{{"<a>"}}<b`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>730</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>731</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a onclick='a = "\u003ca\u003e"<b;'>`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>732</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>733</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                // A recursive template that ends in its start context.</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>734</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>735</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        map[string]string{</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>736</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                                "main": `{{range .Children}}{{template "main" .}}{{else}}{{.X}} {{end}}`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>737</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>738</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `foo <bar> baz `,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>739</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>740</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                // A recursive helper template that ends in its start context.</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>741</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>742</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        map[string]string{</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>743</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                                "main":   `{{template "helper" .}}`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>744</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                                "helper": `{{if .Children}}<ul>{{range .Children}}<li>{{template "main" .}}</li>{{end}}</ul>{{else}}{{.X}}{{end}}`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>745</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>746</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<ul><li>foo</li><li><bar></li><li><ul><li>baz</li></ul></li></ul>`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>747</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>748</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                // Co-recursive templates that end in its start context.</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>749</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>750</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        map[string]string{</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>751</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                                "main":   `<blockquote>{{range .Children}}{{template "helper" .}}{{end}}</blockquote>`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>752</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                                "helper": `{{if .Children}}{{template "main" .}}{{else}}{{.X}}<br>{{end}}`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>753</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>754</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<blockquote>foo<br><bar><br><blockquote>baz<br></blockquote></blockquote>`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>755</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>756</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                // A template that is called in two different contexts.</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>757</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>758</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        map[string]string{</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>759</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                                "main":   `<button onclick="title='{{template "helper"}}'; ...">{{template "helper"}}</button>`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>760</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                                "helper": `{{11}} of {{"<100>"}}`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>761</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>762</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<button onclick="title='11 of \x3c100\x3e'; ...">11 of <100></button>`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>763</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>764</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                // A non-recursive template that ends in a different context.</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>765</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                // helper starts in jsCtxRegexp and ends in jsCtxDivOp.</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>766</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>767</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        map[string]string{</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>768</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                                "main":   `<script>var x={{template "helper"}}/{{"42"}};</script>`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>769</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                                "helper": "{{126}}",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>770</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>771</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<script>var x= 126 /"42";</script>`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>772</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>773</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                // A recursive template that ends in a similar context.</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>774</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>775</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        map[string]string{</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>776</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                                "main":      `<script>var x=[{{template "countdown" 4}}];</script>`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>777</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                                "countdown": `{{.}}{{if .}},{{template "countdown" . | pred}}{{end}}`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>778</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>779</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<script>var x=[ 4 , 3 , 2 , 1 , 0 ];</script>`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>780</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>781</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                // A recursive template that ends in a different context.</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>782</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                /*</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>783</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>784</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                                map[string]string{</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>785</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                                        "main":   `<a href="/foo{{template "helper" .}}">`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>786</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                                        "helper": `{{if .Children}}{{range .Children}}{{template "helper" .}}{{end}}{{else}}?x={{.X}}{{end}}`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>787</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>788</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                                `<a href="/foo?x=foo?x=%3cbar%3e?x=baz">`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>789</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>790</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                */</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>791</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        }</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>792</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code> </code></pre></td>
      </tr>
      <tr valign="middle">
         <td>793</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        // pred is a template function that returns the predecessor of a</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>794</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        // natural number for testing recursive templates.</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>795</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        fns := FuncMap{"pred": func(a ...interface{}) (interface{}, error) {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>796</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                if len(a) == 1 {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>797</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        if i, _ := a[0].(int); i > 0 {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>798</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                                return i - 1, nil</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>799</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        }</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>800</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                }</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>801</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                return nil, fmt.Errorf("undefined pred(%v)", a)</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>802</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        }}</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>803</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code> </code></pre></td>
      </tr>
      <tr valign="middle">
         <td>804</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        for _, test := range tests {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>805</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                source := ""</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>806</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                for name, body := range test.inputs {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>807</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        source += fmt.Sprintf("{{define %q}}%s{{end}} ", name, body)</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>808</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                }</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>809</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                tmpl, err := New("root").Funcs(fns).Parse(source)</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>810</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                if err != nil {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>811</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        t.Errorf("error parsing %q: %v", source, err)</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>812</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        continue</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>813</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                }</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>814</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                var b bytes.Buffer</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>815</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code> </code></pre></td>
      </tr>
      <tr valign="middle">
         <td>816</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                if err := tmpl.ExecuteTemplate(&b, "main", data); err != nil {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>817</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        t.Errorf("%q executing %v", err.Error(), tmpl.Lookup("main"))</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>818</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        continue</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>819</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                }</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>820</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                if got := b.String(); test.want != got {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>821</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        t.Errorf("want\n\t%q\ngot\n\t%q", test.want, got)</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>822</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                }</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>823</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        }</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>824</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code> </code></pre></td>
      </tr>
      <tr valign="middle">
         <td>825</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>}</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>826</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code> </code></pre></td>
      </tr>
      <tr valign="middle">
         <td>827</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>func TestErrors(t *testing.T) {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>828</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        tests := []struct {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>829</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                input string</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>830</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                err   string</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>831</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        }{</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>832</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                // Non-error cases.</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>833</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>834</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "{{if .Cond}}<a>{{else}}<b>{{end}}",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>835</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>836</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>837</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>838</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "{{if .Cond}}<a>{{end}}",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>839</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>840</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>841</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>842</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "{{if .Cond}}{{else}}<b>{{end}}",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>843</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>844</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>845</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>846</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "{{with .Cond}}<div>{{end}}",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>847</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>848</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>849</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>850</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "{{range .Items}}<a>{{end}}",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>851</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>852</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>853</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>854</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "<a href='/foo?{{range .Items}}&{{.K}}={{.V}}{{end}}'>",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>855</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>856</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>857</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                // Error cases.</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>858</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>859</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "{{if .Cond}}<a{{end}}",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>860</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "z:1: {{if}} branches",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>861</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>862</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>863</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "{{if .Cond}}\n{{else}}\n<a{{end}}",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>864</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "z:1: {{if}} branches",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>865</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>866</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>867</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        // Missing quote in the else branch.</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>868</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `{{if .Cond}}<a href="foo">{{else}}<a href="bar>{{end}}`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>869</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "z:1: {{if}} branches",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>870</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>871</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>872</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        // Different kind of attribute: href implies a URL.</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>873</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "<a {{if .Cond}}href='{{else}}title='{{end}}{{.X}}'>",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>874</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "z:1: {{if}} branches",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>875</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>876</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>877</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "\n{{with .X}}<a{{end}}",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>878</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "z:2: {{with}} branches",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>879</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>880</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>881</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "\n{{with .X}}<a>{{else}}<a{{end}}",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>882</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "z:2: {{with}} branches",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>883</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>884</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>885</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "{{range .Items}}<a{{end}}",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>886</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `z:1: on range loop re-entry: "<" in attribute name: "<a"`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>887</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>888</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>889</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "\n{{range .Items}} x='<a{{end}}",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>890</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "z:2: on range loop re-entry: {{range}} branches",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>891</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>892</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>893</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "<a b=1 c={{.H}}",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>894</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "z: ends in a non-text context: {stateAttr delimSpaceOrTagEnd",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>895</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>896</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>897</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "<script>foo();",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>898</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "z: ends in a non-text context: {stateJS",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>899</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>900</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>901</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a href="{{if .F}}/foo?a={{else}}/bar/{{end}}{{.H}}">`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>902</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "z:1: {{.H}} appears in an ambiguous URL context",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>903</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>904</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>905</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a onclick="alert('Hello \`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>906</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `unfinished escape sequence in JS string: "Hello \\"`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>907</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>908</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>909</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a onclick='alert("Hello\, World\`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>910</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `unfinished escape sequence in JS string: "Hello\\, World\\"`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>911</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>912</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>913</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a onclick='alert(/x+\`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>914</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `unfinished escape sequence in JS string: "x+\\"`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>915</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>916</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>917</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a onclick="/foo[\]/`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>918</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `unfinished JS regexp charset: "foo[\\]/"`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>919</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>920</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>921</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        // It is ambiguous whether 1.5 should be 1\.5 or 1.5.</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>922</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        // Either `var x = 1/- 1.5 /i.test(x)`</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>923</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        // where `i.test(x)` is a method call of reference i,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>924</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        // or `/-1\.5/i.test(x)` which is a method call on a</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>925</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        // case insensitive regular expression.</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>926</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<script>{{if false}}var x = 1{{end}}/-{{"1.5"}}/i.test(x)</script>`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>927</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `'/' could start a division or regexp: "/-"`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>928</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>929</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>930</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `{{template "foo"}}`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>931</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "z:1: no such template \"foo\"",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>932</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>933</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>934</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<div{{template "y"}}>` +</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>935</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                                // Illegal starting in stateTag but not in stateText.</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>936</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                                `{{define "y"}} foo<b{{end}}`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>937</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `"<" in attribute name: " foo<b"`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>938</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>939</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>940</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<script>reverseList = [{{template "t"}}]</script>` +</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>941</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                                // Missing " after recursive call.</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>942</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                                `{{define "t"}}{{if .Tail}}{{template "t" .Tail}}{{end}}{{.Head}}",{{end}}`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>943</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `: cannot compute output context for template t$htmltemplate_stateJS_elementScript`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>944</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>945</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>946</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<input type=button value=onclick=>`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>947</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `html/template:z: "=" in unquoted attr: "onclick="`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>948</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>949</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>950</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<input type=button value= onclick=>`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>951</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `html/template:z: "=" in unquoted attr: "onclick="`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>952</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>953</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>954</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<input type=button value= 1+1=2>`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>955</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `html/template:z: "=" in unquoted attr: "1+1=2"`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>956</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>957</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>958</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "<a class=`foo>",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>959</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "html/template:z: \"`\" in unquoted attr: \"`foo\"",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>960</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>961</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>962</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a style=font:'Arial'>`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>963</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `html/template:z: "'" in unquoted attr: "font:'Arial'"`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>964</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>965</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>966</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a=foo>`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>967</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `: expected space, attr name, or end of tag, but got "=foo>"`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>968</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>969</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        }</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>970</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code> </code></pre></td>
      </tr>
      <tr valign="middle">
         <td>971</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        for _, test := range tests {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>972</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                buf := new(bytes.Buffer)</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>973</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                tmpl, err := New("z").Parse(test.input)</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>974</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                if err != nil {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>975</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        t.Errorf("input=%q: unexpected parse error %s\n", test.input, err)</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>976</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        continue</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>977</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                }</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>978</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                err = tmpl.Execute(buf, nil)</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>979</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                var got string</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>980</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                if err != nil {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>981</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        got = err.Error()</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>982</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                }</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>983</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                if test.err == "" {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>984</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        if got != "" {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>985</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                                t.Errorf("input=%q: unexpected error %q", test.input, got)</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>986</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        }</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>987</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        continue</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>988</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                }</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>989</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                if strings.Index(got, test.err) == -1 {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>990</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        t.Errorf("input=%q: error\n\t%q\ndoes not contain expected string\n\t%q", test.input, got, test.err)</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>991</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        continue</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>992</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                }</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>993</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        }</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>994</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>}</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>995</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code> </code></pre></td>
      </tr>
      <tr valign="middle">
         <td>996</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>func TestEscapeText(t *testing.T) {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>997</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        tests := []struct {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>998</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                input  string</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>999</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                output context</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1000</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        }{</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1001</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1002</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        ``,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1003</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1004</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1005</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1006</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `Hello, World!`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1007</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1008</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1009</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1010</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        // An orphaned "<" is OK.</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1011</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `I <3 Ponies!`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1012</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1013</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1014</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1015</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1016</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateTag},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1017</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1018</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1019</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a `,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1020</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateTag},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1021</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1022</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1023</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a>`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1024</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateText},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1025</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1026</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1027</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a href`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1028</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateAttrName, attr: attrURL},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1029</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1030</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1031</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a on`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1032</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateAttrName, attr: attrScript},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1033</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1034</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1035</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a href `,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1036</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateAfterName, attr: attrURL},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1037</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1038</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1039</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a style  =  `,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1040</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateBeforeValue, attr: attrStyle},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1041</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1042</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1043</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a href=`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1044</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateBeforeValue, attr: attrURL},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1045</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1046</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1047</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a href=x`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1048</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateURL, delim: delimSpaceOrTagEnd, urlPart: urlPartPreQuery},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1049</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1050</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1051</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a href=x `,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1052</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateTag},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1053</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1054</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1055</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a href=>`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1056</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateText},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1057</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1058</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1059</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a href=x>`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1060</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateText},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1061</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1062</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1063</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a href ='`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1064</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateURL, delim: delimSingleQuote},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1065</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1066</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1067</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a href=''`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1068</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateTag},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1069</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1070</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1071</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a href= "`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1072</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateURL, delim: delimDoubleQuote},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1073</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1074</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1075</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a href=""`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1076</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateTag},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1077</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1078</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1079</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a title="`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1080</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateAttr, delim: delimDoubleQuote},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1081</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1082</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1083</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a HREF='http:`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1084</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateURL, delim: delimSingleQuote, urlPart: urlPartPreQuery},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1085</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1086</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1087</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a Href='/`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1088</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateURL, delim: delimSingleQuote, urlPart: urlPartPreQuery},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1089</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1090</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1091</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a href='"`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1092</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateURL, delim: delimSingleQuote, urlPart: urlPartPreQuery},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1093</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1094</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1095</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a href="'`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1096</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateURL, delim: delimDoubleQuote, urlPart: urlPartPreQuery},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1097</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1098</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1099</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a href=''`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1100</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateURL, delim: delimSingleQuote, urlPart: urlPartPreQuery},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1101</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1102</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1103</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a href=""`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1104</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateURL, delim: delimDoubleQuote, urlPart: urlPartPreQuery},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1105</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1106</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1107</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a href=""`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1108</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateURL, delim: delimDoubleQuote, urlPart: urlPartPreQuery},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1109</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1110</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1111</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a href="`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1112</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateURL, delim: delimSpaceOrTagEnd, urlPart: urlPartPreQuery},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1113</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1114</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1115</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<img alt="1">`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1116</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateText},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1117</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1118</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1119</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<img alt="1>"`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1120</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateTag},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1121</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1122</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1123</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<img alt="1>">`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1124</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateText},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1125</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1126</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1127</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<input checked type="checkbox"`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1128</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateTag},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1129</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1130</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1131</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a onclick="`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1132</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateJS, delim: delimDoubleQuote},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1133</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1134</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1135</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a onclick="//foo`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1136</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateJSLineCmt, delim: delimDoubleQuote},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1137</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1138</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1139</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "<a onclick='//\n",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1140</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateJS, delim: delimSingleQuote},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1141</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1142</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1143</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "<a onclick='//\r\n",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1144</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateJS, delim: delimSingleQuote},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1145</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1146</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1147</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "<a onclick='//\u2028",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1148</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateJS, delim: delimSingleQuote},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1149</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1150</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1151</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a onclick="/*`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1152</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateJSBlockCmt, delim: delimDoubleQuote},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1153</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1154</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1155</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a onclick="/*/`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1156</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateJSBlockCmt, delim: delimDoubleQuote},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1157</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1158</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1159</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a onclick="/**/`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1160</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateJS, delim: delimDoubleQuote},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1161</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1162</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1163</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a onkeypress=""`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1164</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateJSDqStr, delim: delimDoubleQuote},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1165</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1166</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1167</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a onclick='"foo"`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1168</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateJS, delim: delimSingleQuote, jsCtx: jsCtxDivOp},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1169</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1170</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1171</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a onclick='foo'`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1172</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateJS, delim: delimSpaceOrTagEnd, jsCtx: jsCtxDivOp},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1173</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1174</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1175</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a onclick='foo`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1176</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateJSSqStr, delim: delimSpaceOrTagEnd},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1177</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1178</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1179</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a onclick=""foo'`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1180</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateJSDqStr, delim: delimDoubleQuote},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1181</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1182</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1183</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a onclick="'foo"`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1184</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateJSSqStr, delim: delimDoubleQuote},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1185</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1186</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1187</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<A ONCLICK="'`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1188</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateJSSqStr, delim: delimDoubleQuote},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1189</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1190</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1191</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a onclick="/`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1192</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateJSRegexp, delim: delimDoubleQuote},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1193</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1194</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1195</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a onclick="'foo'`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1196</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateJS, delim: delimDoubleQuote, jsCtx: jsCtxDivOp},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1197</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1198</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1199</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a onclick="'foo\'`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1200</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateJSSqStr, delim: delimDoubleQuote},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1201</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1202</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1203</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a onclick="'foo\'`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1204</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateJSSqStr, delim: delimDoubleQuote},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1205</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1206</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1207</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a onclick="/foo/`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1208</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateJS, delim: delimDoubleQuote, jsCtx: jsCtxDivOp},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1209</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1210</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1211</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<script>/foo/ /=`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1212</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateJS, element: elementScript},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1213</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1214</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1215</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a onclick="1 /foo`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1216</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateJS, delim: delimDoubleQuote, jsCtx: jsCtxDivOp},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1217</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1218</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1219</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a onclick="1 /*c*/ /foo`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1220</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateJS, delim: delimDoubleQuote, jsCtx: jsCtxDivOp},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1221</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1222</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1223</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a onclick="/foo[/]`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1224</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateJSRegexp, delim: delimDoubleQuote},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1225</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1226</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1227</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a onclick="/foo\/`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1228</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateJSRegexp, delim: delimDoubleQuote},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1229</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1230</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1231</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a onclick="/foo/`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1232</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateJS, delim: delimDoubleQuote, jsCtx: jsCtxDivOp},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1233</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1234</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1235</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<input checked style="`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1236</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateCSS, delim: delimDoubleQuote},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1237</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1238</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1239</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a style="//`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1240</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateCSSLineCmt, delim: delimDoubleQuote},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1241</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1242</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1243</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a style="//</script>`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1244</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateCSSLineCmt, delim: delimDoubleQuote},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1245</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1246</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1247</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "<a style='//\n",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1248</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateCSS, delim: delimSingleQuote},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1249</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1250</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1251</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "<a style='//\r",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1252</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateCSS, delim: delimSingleQuote},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1253</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1254</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1255</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a style="/*`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1256</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateCSSBlockCmt, delim: delimDoubleQuote},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1257</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1258</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1259</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a style="/*/`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1260</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateCSSBlockCmt, delim: delimDoubleQuote},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1261</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1262</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1263</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a style="/**/`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1264</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateCSS, delim: delimDoubleQuote},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1265</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1266</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1267</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a style="background: '`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1268</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateCSSSqStr, delim: delimDoubleQuote},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1269</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1270</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1271</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a style="background: "`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1272</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateCSSDqStr, delim: delimDoubleQuote},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1273</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1274</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1275</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a style="background: '/foo?img=`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1276</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateCSSSqStr, delim: delimDoubleQuote, urlPart: urlPartQueryOrFrag},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1277</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1278</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1279</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a style="background: '/`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1280</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateCSSSqStr, delim: delimDoubleQuote, urlPart: urlPartPreQuery},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1281</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1282</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1283</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a style="background: url("/`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1284</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateCSSDqURL, delim: delimDoubleQuote, urlPart: urlPartPreQuery},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1285</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1286</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1287</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a style="background: url('/`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1288</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateCSSSqURL, delim: delimDoubleQuote, urlPart: urlPartPreQuery},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1289</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1290</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1291</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a style="background: url('/)`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1292</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateCSSSqURL, delim: delimDoubleQuote, urlPart: urlPartPreQuery},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1293</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1294</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1295</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a style="background: url('/ `,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1296</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateCSSSqURL, delim: delimDoubleQuote, urlPart: urlPartPreQuery},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1297</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1298</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1299</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a style="background: url(/`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1300</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateCSSURL, delim: delimDoubleQuote, urlPart: urlPartPreQuery},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1301</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1302</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1303</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a style="background: url( `,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1304</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateCSSURL, delim: delimDoubleQuote},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1305</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1306</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1307</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a style="background: url( /image?name=`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1308</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateCSSURL, delim: delimDoubleQuote, urlPart: urlPartQueryOrFrag},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1309</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1310</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1311</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a style="background: url(x)`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1312</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateCSS, delim: delimDoubleQuote},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1313</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1314</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1315</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a style="background: url('x'`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1316</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateCSS, delim: delimDoubleQuote},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1317</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1318</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1319</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a style="background: url( x `,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1320</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateCSS, delim: delimDoubleQuote},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1321</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1322</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1323</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<!-- foo`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1324</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateHTMLCmt},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1325</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1326</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1327</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<!-->`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1328</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateHTMLCmt},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1329</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1330</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1331</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<!--->`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1332</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateHTMLCmt},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1333</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1334</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1335</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<!-- foo -->`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1336</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateText},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1337</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1338</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1339</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<script`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1340</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateTag, element: elementScript},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1341</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1342</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1343</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<script `,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1344</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateTag, element: elementScript},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1345</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1346</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1347</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<script src="foo.js" `,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1348</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateTag, element: elementScript},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1349</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1350</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1351</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<script src='foo.js' `,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1352</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateTag, element: elementScript},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1353</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1354</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1355</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<script type=text/javascript `,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1356</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateTag, element: elementScript},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1357</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1358</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1359</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<script>foo`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1360</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateJS, jsCtx: jsCtxDivOp, element: elementScript},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1361</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1362</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1363</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<script>foo</script>`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1364</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateText},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1365</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1366</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1367</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<script>foo</script><!--`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1368</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateHTMLCmt},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1369</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1370</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1371</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<script>document.write("<p>foo</p>");`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1372</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateJS, element: elementScript},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1373</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1374</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1375</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<script>document.write("<p>foo<\/script>");`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1376</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateJS, element: elementScript},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1377</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1378</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1379</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<script>document.write("<script>alert(1)</script>");`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1380</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateText},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1381</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1382</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1383</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<Script>`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1384</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateJS, element: elementScript},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1385</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1386</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1387</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<SCRIPT>foo`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1388</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateJS, jsCtx: jsCtxDivOp, element: elementScript},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1389</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1390</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1391</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<textarea>value`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1392</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateRCDATA, element: elementTextarea},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1393</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1394</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1395</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<textarea>value</TEXTAREA>`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1396</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateText},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1397</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1398</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1399</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<textarea name=html><b`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1400</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateRCDATA, element: elementTextarea},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1401</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1402</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1403</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<title>value`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1404</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateRCDATA, element: elementTitle},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1405</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1406</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1407</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<style>value`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1408</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateCSS, element: elementStyle},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1409</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1410</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1411</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a xlink:href`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1412</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateAttrName, attr: attrURL},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1413</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1414</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1415</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a xmlns`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1416</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateAttrName, attr: attrURL},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1417</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1418</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1419</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a xmlns:foo`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1420</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateAttrName, attr: attrURL},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1421</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1422</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1423</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a xmlnsxyz`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1424</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateAttrName},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1425</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1426</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1427</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a data-url`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1428</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateAttrName, attr: attrURL},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1429</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1430</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1431</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a data-iconUri`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1432</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateAttrName, attr: attrURL},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1433</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1434</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1435</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a data-urlItem`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1436</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateAttrName, attr: attrURL},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1437</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1438</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1439</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a g:`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1440</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateAttrName},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1441</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1442</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1443</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a g:url`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1444</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateAttrName, attr: attrURL},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1445</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1446</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1447</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a g:iconUri`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1448</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateAttrName, attr: attrURL},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1449</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1450</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1451</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a g:urlItem`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1452</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateAttrName, attr: attrURL},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1453</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1454</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1455</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a g:value`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1456</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateAttrName},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1457</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1458</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1459</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<a svg:style='`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1460</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateCSS, delim: delimSingleQuote},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1461</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1462</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1463</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<svg:font-face`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1464</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateTag},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1465</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1466</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1467</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `<svg:a svg:onclick="`,</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1468</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        context{state: stateJS, delim: delimDoubleQuote},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1469</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1470</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        }</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1471</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code> </code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1472</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        for _, test := range tests {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1473</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                b, e := []byte(test.input), newEscaper(nil)</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1474</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                c := e.escapeText(context{}, &parse.TextNode{NodeType: parse.NodeText, Text: b})</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1475</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                if !test.output.eq(c) {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1476</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        t.Errorf("input %q: want context\n\t%v\ngot\n\t%v", test.input, test.output, c)</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1477</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        continue</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1478</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                }</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1479</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                if test.input != string(b) {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1480</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        t.Errorf("input %q: text node was modified: want %q got %q", test.input, test.input, b)</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1481</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        continue</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1482</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                }</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1483</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        }</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1484</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>}</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1485</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code> </code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1486</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>func TestEnsurePipelineContains(t *testing.T) {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1487</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        tests := []struct {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1488</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                input, output string</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1489</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                ids           []string</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1490</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        }{</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1491</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1492</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "{{.X}}",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1493</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        ".X",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1494</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        []string{},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1495</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1496</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1497</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "{{.X | html}}",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1498</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        ".X | html",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1499</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        []string{},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1500</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1501</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1502</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "{{.X}}",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1503</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        ".X | html",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1504</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        []string{"html"},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1505</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1506</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1507</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "{{.X | html}}",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1508</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        ".X | html | urlquery",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1509</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        []string{"urlquery"},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1510</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1511</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1512</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "{{.X | html | urlquery}}",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1513</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        ".X | html | urlquery",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1514</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        []string{"urlquery"},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1515</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1516</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1517</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "{{.X | html | urlquery}}",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1518</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        ".X | html | urlquery",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1519</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        []string{"html", "urlquery"},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1520</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1521</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1522</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "{{.X | html | urlquery}}",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1523</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        ".X | html | urlquery",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1524</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        []string{"html"},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1525</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1526</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1527</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "{{.X | urlquery}}",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1528</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        ".X | html | urlquery",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1529</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        []string{"html", "urlquery"},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1530</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1531</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1532</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "{{.X | html | print}}",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1533</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        ".X | urlquery | html | print",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1534</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        []string{"urlquery", "html"},</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1535</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                },</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1536</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        }</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1537</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        for i, test := range tests {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1538</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                tmpl := template.Must(template.New("test").Parse(test.input))</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1539</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                action, ok := (tmpl.Tree.Root.Nodes[0].(*parse.ActionNode))</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1540</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                if !ok {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1541</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        t.Errorf("#%d: First node is not an action: %s", i, test.input)</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1542</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        continue</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1543</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                }</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1544</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                pipe := action.Pipe</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1545</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                ensurePipelineContains(pipe, test.ids)</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1546</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                got := pipe.String()</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1547</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                if got != test.output {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1548</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        t.Errorf("#%d: %s, %v: want\n\t%s\ngot\n\t%s", i, test.input, test.ids, test.output, got)</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1549</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                }</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1550</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        }</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1551</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>}</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1552</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code> </code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1553</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>func TestEscapeErrorsNotIgnorable(t *testing.T) {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1554</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        var b bytes.Buffer</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1555</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        tmpl, _ := New("dangerous").Parse("<a")</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1556</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        err := tmpl.Execute(&b, nil)</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1557</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        if err == nil {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1558</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                t.Errorf("Expected error")</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1559</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        } else if b.Len() != 0 {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1560</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                t.Errorf("Emitted output despite escaping failure")</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1561</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        }</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1562</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>}</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1563</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code> </code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1564</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>func TestEscapeSetErrorsNotIgnorable(t *testing.T) {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1565</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        var b bytes.Buffer</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1566</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        tmpl, err := New("root").Parse(`{{define "t"}}<a{{end}}`)</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1567</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        if err != nil {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1568</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                t.Errorf("failed to parse set: %q", err)</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1569</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        }</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1570</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        err = tmpl.ExecuteTemplate(&b, "t", nil)</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1571</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        if err == nil {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1572</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                t.Errorf("Expected error")</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1573</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        } else if b.Len() != 0 {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1574</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                t.Errorf("Emitted output despite escaping failure")</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1575</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        }</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1576</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>}</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1577</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code> </code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1578</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>func TestRedundantFuncs(t *testing.T) {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1579</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        inputs := []interface{}{</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1580</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                "\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\x0c\r\x0e\x0f" +</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1581</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f" +</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1582</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        ` !"#$%&'()*+,-./` +</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1583</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `0123456789:;<=>?` +</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1584</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `@ABCDEFGHIJKLMNO` +</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1585</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        `PQRSTUVWXYZ[\]^_` +</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1586</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "`abcdefghijklmno" +</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1587</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "pqrstuvwxyz{|}~\x7f" +</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1588</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "\u00A0\u0100\u2028\u2029\ufeff\ufdec\ufffd\uffff\U0001D11E" +</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1589</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        "&%22\\",</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1590</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                CSS(`a[href =~ "//example.com"]#foo`),</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1591</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                HTML(`Hello, <b>World</b> &tc!`),</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1592</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                HTMLAttr(` dir="ltr"`),</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1593</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                JS(`c && alert("Hello, World!");`),</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1594</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                JSStr(`Hello, World & O'Reilly\x21`),</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1595</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                URL(`greeting=H%69&addressee=(World)`),</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1596</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        }</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1597</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code> </code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1598</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        for n0, m := range redundantFuncs {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1599</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                f0 := funcMap[n0].(func(...interface{}) string)</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1600</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                for n1 := range m {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1601</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        f1 := funcMap[n1].(func(...interface{}) string)</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1602</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        for _, input := range inputs {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1603</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                                want := f0(input)</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1604</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                                if got := f1(want); want != got {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1605</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                                        t.Errorf("%s %s with %T %q: want\n\t%q,\ngot\n\t%q", n0, n1, input, input, want, got)</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1606</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                                }</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1607</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                        }</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1608</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                }</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1609</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        }</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1610</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>}</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1611</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code> </code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1612</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>func TestIndirectPrint(t *testing.T) {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1613</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        a := 3</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1614</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        ap := &a</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1615</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        b := "hello"</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1616</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        bp := &b</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1617</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        bpp := &bp</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1618</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        tmpl := Must(New("t").Parse(`{{.}}`))</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1619</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        var buf bytes.Buffer</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1620</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        err := tmpl.Execute(&buf, ap)</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1621</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        if err != nil {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1622</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                t.Errorf("Unexpected error: %s", err)</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1623</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        } else if buf.String() != "3" {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1624</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                t.Errorf(`Expected "3"; got %q`, buf.String())</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1625</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        }</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1626</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        buf.Reset()</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1627</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        err = tmpl.Execute(&buf, bpp)</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1628</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        if err != nil {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1629</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                t.Errorf("Unexpected error: %s", err)</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1630</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        } else if buf.String() != "hello" {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1631</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                t.Errorf(`Expected "hello"; got %q`, buf.String())</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1632</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        }</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1633</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>}</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1634</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code> </code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1635</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>func BenchmarkEscapedExecute(b *testing.B) {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1636</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        tmpl := Must(New("t").Parse(`<a onclick="alert('{{.}}')">{{.}}</a>`))</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1637</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        var buf bytes.Buffer</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1638</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        b.ResetTimer()</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1639</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        for i := 0; i < b.N; i++ {</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1640</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                tmpl.Execute(&buf, "foo & 'bar' & baz")</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1641</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>                buf.Reset()</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1642</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>        }</code></pre></td>
      </tr>
      <tr valign="middle">
         <td>1643</td>
         <td></td>
         <td></td>
         <td class="code"><pre><code>}</code></pre></td>
      </tr>
   </tbody>
</table>


<script type='text/javascript'>
/* <![CDATA[ */
var rev = new Array();
var a = document.getElementsByTagName('a');
for (var i = 0; i < a.length; i++) {
  if (a[i].className == 'blame-revision') {
    var id = a[i].id;
    addEvent(a[i], 'mouseover', function() { mouseover(this) } );
    addEvent(a[i], 'mouseout', function() { mouseout(this) } );
  }
}

function mouseover(a) {
  // Find the revision by using the link
  var m = /rev=(\d+)/.exec(a.href);
  var r = m[1];

  div = document.createElement('div');
  div.className = 'blame-popup';
  div.innerHTML = rev[r];
  a.parentNode.appendChild(div);
}

function mouseout(a) {
  var div = a.parentNode.parentNode.getElementsByTagName('div');
  for (var i = 0; i < div.length; i++) {
    if (div[i].className = 'blame-popup') {
      div[i].parentNode.removeChild(div[i]);
    }
  }
}

function addEvent(obj, type, func) {
  if (obj.addEventListener) {
    obj.addEventListener(type, func, false);
    return true;
  } else if (obj.attachEvent) {
    return obj.attachEvent('on' + type, func);
  } else {
    return false;
  }
}
rev[747] = '<div class="info"><span class="date">2012-03-02 13:20:09 GMT<\/span><\/div><div class="msg">Initial check-in of GCC, with properties matching the upstream.<\/div>';
/* ]]> */
</script>

</div>
</div>
<div id="websvnfooter">
    <p style="padding:0; margin:0"><small>powered by: <a href="http://www.websvn.info">WebSVN 2.1.0</a></small></p>
</div>
        </div>

                
        <div style="clear: both; margin-left: 200px;">
            <ins
                class="adsbygoogle"
                style="display:inline-block;width:728px;height:90px"
                data-ad-client="ca-pub-8561717607970465"
                data-ad-slot="4128044249"></ins>
            <script type="text/javascript">(adsbygoogle = window.adsbygoogle || []).push({});</script>
        </div>
        
            </div>
    <div class="bot">
        © copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.
    </div>
</div>

<!-- Old browser warning -->
<script type="text/javascript">
  if (!('borderImage' in document.createElement('div').style)) {
    var div = document.getElementById('old-browser-warning')
    div.innerHTML = '<b>Your browser is out-of-date!</b>        Update your browser to view this website correctly.'
    div.setAttribute('style', 'background-color: red; border-bottom: 2px solid black; margin: 0 -12px 12px -12px; padding: 12px; text-align: center;')
  }
</script>
<!-- /Old browser warning -->
<!-- Google search -->
<script type="text/javascript" src="//www.google.com/jsapi"></script>
<script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script>
<script type="text/javascript" src="//www.google.com/coop/cse/t13n?form=cse-search-box&t13n_langs=en"></script>
<script type="text/javascript" src="//www.google.com/coop/cse/brand?form=cse-search-box&lang=en"></script>
<!-- /Google search -->

</body>
</html>