forked from dchest/textiler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtestdata.go
1212 lines (981 loc) · 26 KB
/
testdata.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
package textiler
// Those tests are based on https://github.com/ikirudennis/python-textile/blob/master/textile/tests/__init__.py
var HtmlTests = []string{
`I spoke.
And none replied.`,
` <p>I spoke.<br>
And none replied.</p>`,
`I __know__.
I **really** __know__.`,
` <p>I <i>know</i>.<br>
I <b>really</b> <i>know</i>.</p>`,
`I'm %{color:red}unaware%
of most soft drinks.`,
` <p>I’m <span style="color:red;">unaware</span><br>
of most soft drinks.</p>`,
`I seriously *{color:red}blushed*
when I _(big)sprouted_ that
corn stalk from my
%[es]cabeza%.`,
` <p>I seriously <strong style="color:red;">blushed</strong><br>
when I <em class="big">sprouted</em> that<br>
corn stalk from my<br>
<span lang="es">cabeza</span>.</p>`,
`<pre>
<code>
a.gsub!( /</, "" )
</code>
</pre>`,
`<pre>
<code>
a.gsub!( /</, "" )
</code>
</pre>`,
`<div style="float:right;">
h3. Sidebar
"Hobix":http://hobix.com/
"Ruby":http://ruby-lang.org/
</div>
The main text of the
page goes here and will
stay to the left of the
sidebar.`,
` <p><div style="float:right;"></p>
<h3>Sidebar</h3>
<p><a href="http://hobix.com/">Hobix</a><br>
<a href="http://ruby-lang.org/">Ruby</a></p>
<p></div></p>
<p>The main text of the<br>
page goes here and will<br>
stay to the left of the<br>
sidebar.</p>`,
`I am crazy about "Hobix":hobix
and "it's":hobix "all":hobix I ever
"link to":hobix!
[hobix]http://hobix.com`,
` <p>I am crazy about <a href="http://hobix.com">Hobix</a><br>
and <a href="http://hobix.com">it’s</a> <a href="http://hobix.com">all</a> I ever<br>
<a href="http://hobix.com">link to</a>!</p>`,
`!http://hobix.com/sample.jpg!`,
` <p><img src="http://hobix.com/sample.jpg" alt=""></p>`,
`!openwindow1.gif(Bunny.)!`,
` <p><img src="openwindow1.gif" title="Bunny." alt="Bunny."></p>`,
`!openwindow1.gif!:http://hobix.com/`,
` <p><a href="http://hobix.com/" class="img"><img src="openwindow1.gif" alt=""></a></p>`,
`!>obake.gif!
And others sat all round the small
machine and paid it to sing to them.`,
` <p><img src="obake.gif" style="float: right;" alt=""></p>
<p>And others sat all round the small<br>
machine and paid it to sing to them.</p>`,
`!http://render.mathim.com/A%5EtAx%20%3D%20A%5Et%28Ax%29.!`,
` <p><img src="http://render.mathim.com/A%5EtAx%20%3D%20A%5Et%28Ax%29." alt=""></p>`,
`notextile. <b> foo bar baz</b>
p. quux
`,
`<b> foo bar baz</b>
<p>quux</p>`,
}
var XhtmlTests = []string{
`hello, world`,
` <p>hello, world</p>`,
`A single paragraph.
Followed by another.`,
` <p>A single paragraph.</p>
<p>Followed by another.</p>`,
`I am <b>very</b> serious.
<pre>
I am <b>very</b> serious.
</pre>`,
` <p>I am <b>very</b> serious.</p>
<pre>
I am <b>very</b> serious.
</pre>`,
`I spoke.
And none replied.`,
` <p>I spoke.<br />
And none replied.</p>`,
`"Observe!"`,
` <p>“Observe!” </p>`,
`Observe -- very nice!`,
` <p>Observe — very nice!</p>`,
`Observe - tiny and brief.`,
` <p>Observe – tiny and brief.</p>`,
`Observe...`,
` <p>Observe…</p>`,
`Observe ...`,
` <p>Observe …</p>`,
`Observe: 2 x 2.`,
` <p>Observe: 2 × 2.</p>`,
`one(TM), two(R), three(C).`,
` <p>one™, two®, three©.</p>`,
`h1. Header 1`,
` <h1>Header 1</h1>`,
`h2. Header 2`,
` <h2>Header 2</h2>`,
`h3. Header 3`,
` <h3>Header 3</h3>`,
`An old text
bq. A block quotation.
Any old text`,
` <p>An old text</p>
<blockquote>
<p>A block quotation.</p>
</blockquote>
<p>Any old text</p>`,
`I _believe_ every word.`,
` <p>I <em>believe</em> every word.</p>`,
`And then? She *fell*!`,
` <p>And then? She <strong>fell</strong>!</p>`,
`I __know__.
I **really** __know__.`,
` <p>I <i>know</i>.<br />
I <b>really</b> <i>know</i>.</p>`,
`??Cat's Cradle?? by Vonnegut`,
` <p><cite>Cat’s Cradle</cite> by Vonnegut</p>`,
`Convert with @str(foo)@`,
` <p>Convert with <code>str(foo)</code></p>`,
`I'm -sure- not sure.`,
` <p>I’m <del>sure</del> not sure.</p>`,
`You are a +pleasant+ child.`,
` <p>You are a <ins>pleasant</ins> child.</p>`,
`a ^2^ + b ^2^ = c ^2^`,
` <p>a <sup>2</sup> + b <sup>2</sup> = c <sup>2</sup></p>`,
`log ~2~ x`,
` <p>log <sub>2</sub> x</p>`,
`I'm %unaware% of most soft drinks.`,
` <p>I’m <span>unaware</span> of most soft drinks.</p>`,
`I'm %{color:red}unaware%
of most soft drinks.`,
` <p>I’m <span style="color:red;">unaware</span><br />
of most soft drinks.</p>`,
`p(example1). An example`,
` <p class="example1">An example</p>`,
`p(#big-red). Red here`,
` <p id="big-red">Red here</p>`,
`p(example1#big-red2). Red here`,
` <p class="example1" id="big-red2">Red here</p>`,
`p{color:blue;margin:30px}. Spacey blue`,
` <p style="color:blue; margin:30px;">Spacey blue</p>`,
`p[fr]. rouge`,
` <p lang="fr">rouge</p>`,
`I seriously *{color:red}blushed*
when I _(big)sprouted_ that
corn stalk from my
%[es]cabeza%.`,
` <p>I seriously <strong style="color:red;">blushed</strong><br />
when I <em class="big">sprouted</em> that<br />
corn stalk from my<br />
<span lang="es">cabeza</span>.</p>`,
`p<. align left`,
` <p style="text-align:left;">align left</p>`,
`p>. align right`,
` <p style="text-align:right;">align right</p>`,
`p=. centered`,
` <p style="text-align:center;">centered</p>`,
`p<>. justified`,
` <p style="text-align:justify;">justified</p>`,
`p(. left ident 1em`,
` <p style="padding-left:1em;">left ident 1em</p>`,
`p((. left ident 2em`,
` <p style="padding-left:2em;">left ident 2em</p>`,
`p))). right ident 3em`,
` <p style="padding-right:3em;">right ident 3em</p>`,
`h2()>. Bingo.`,
` <h2 style="padding-left:1em; padding-right:1em; text-align:right;">Bingo.</h2>`,
`h3()>[no]{color:red}. Bingo`,
` <h3 style="color:red; padding-left:1em; padding-right:1em; text-align:right;" lang="no">Bingo</h3>`,
`<pre>
<code>
a.gsub!( /</, "" )
</code>
</pre>`,
`<pre>
<code>
a.gsub!( /</, "" )
</code>
</pre>`,
`<div style="float:right;">
h3. Sidebar
"Hobix":http://hobix.com/
"Ruby":http://ruby-lang.org/
</div>
The main text of the
page goes here and will
stay to the left of the
sidebar.`,
` <p><div style="float:right;"></p>
<h3>Sidebar</h3>
<p><a href="http://hobix.com/">Hobix</a><br />
<a href="http://ruby-lang.org/">Ruby</a></p>
<p></div></p>
<p>The main text of the<br />
page goes here and will<br />
stay to the left of the<br />
sidebar.</p>`,
`# A first item
# A second item
# A third`,
` <ol>
<li>A first item</li>
<li>A second item</li>
<li>A third</li>
</ol>`,
`# Fuel could be:
## Coal
## Gasoline
## Electricity
# Humans need only:
## Water
## Protein`,
` <ol>
<li>Fuel could be:
<ol>
<li>Coal</li>
<li>Gasoline</li>
<li>Electricity</li>
</ol></li>
<li>Humans need only:
<ol>
<li>Water</li>
<li>Protein</li>
</ol></li>
</ol>`,
`* A first item
* A second item
* A third`,
` <ul>
<li>A first item</li>
<li>A second item</li>
<li>A third</li>
</ul>`,
`• A first item
• A second item
• A third`,
` <ul>
<li>A first item</li>
<li>A second item</li>
<li>A third</li>
</ul>`,
`* Fuel could be:
** Coal
** Gasoline
** Electricity
* Humans need only:
** Water
** Protein`,
` <ul>
<li>Fuel could be:
<ul>
<li>Coal</li>
<li>Gasoline</li>
<li>Electricity</li>
</ul></li>
<li>Humans need only:
<ul>
<li>Water</li>
<li>Protein</li>
</ul></li>
</ul>`,
`I searched "Google":http://google.com.`,
` <p>I searched <a href="http://google.com">Google</a>.</p>`,
`I searched "a search engine (Google)":http://google.com.`,
` <p>I searched <a href="http://google.com" title="Google">a search engine</a>.</p>`,
`I am crazy about "Hobix":hobix
and "it's":hobix "all":hobix I ever
"link to":hobix!
[hobix]http://hobix.com`,
` <p>I am crazy about <a href="http://hobix.com">Hobix</a><br />
and <a href="http://hobix.com">it’s</a> <a href="http://hobix.com">all</a> I ever<br />
<a href="http://hobix.com">link to</a>!</p>`,
`!http://hobix.com/sample.jpg!`,
` <p><img src="http://hobix.com/sample.jpg" alt="" /></p>`,
`!openwindow1.gif(Bunny.)!`,
` <p><img src="openwindow1.gif" title="Bunny." alt="Bunny." /></p>`,
`!openwindow1.gif!:http://hobix.com/`,
` <p><a href="http://hobix.com/" class="img"><img src="openwindow1.gif" alt="" /></a></p>`,
`!>obake.gif!
And others sat all round the small
machine and paid it to sing to them.`,
` <p><img src="obake.gif" style="float: right;" alt="" /></p>
<p>And others sat all round the small<br />
machine and paid it to sing to them.</p>`,
`We use CSS(Cascading Style Sheets).`,
` <p>We use <acronym title="Cascading Style Sheets"><span class="caps">CSS</span></acronym>.</p>`,
`|one|two|three|
|a|b|c|`,
` <table>
<tr>
<td>one</td>
<td>two</td>
<td>three</td>
</tr>
<tr>
<td>a</td>
<td>b</td>
<td>c</td>
</tr>
</table>`,
`| name | age | sex |
| joan | 24 | f |
| archie | 29 | m |
| bella | 45 | f |`,
` <table>
<tr>
<td> name </td>
<td> age </td>
<td> sex </td>
</tr>
<tr>
<td> joan </td>
<td> 24 </td>
<td> f </td>
</tr>
<tr>
<td> archie </td>
<td> 29 </td>
<td> m </td>
</tr>
<tr>
<td> bella </td>
<td> 45 </td>
<td> f </td>
</tr>
</table>`,
`|_. name |_. age |_. sex |
| joan | 24 | f |
| archie | 29 | m |
| bella | 45 | f |`,
` <table>
<tr>
<th>name </th>
<th>age </th>
<th>sex </th>
</tr>
<tr>
<td> joan </td>
<td> 24 </td>
<td> f </td>
</tr>
<tr>
<td> archie </td>
<td> 29 </td>
<td> m </td>
</tr>
<tr>
<td> bella </td>
<td> 45 </td>
<td> f </td>
</tr>
</table>`,
`<script>alert("hello");</script>`,
` <p><script>alert(“hello”);</script></p>`,
`pre.. Hello
Hello Again
p. normal text`,
`<pre>Hello
Hello Again
</pre>
<p>normal text</p>`,
`<pre>this is in a pre tag</pre>`,
`<pre>this is in a pre tag</pre>`,
`"test1":http://foo.com/bar--baz
"test2":http://foo.com/bar---baz
"test3":http://foo.com/bar-17-18-baz`,
` <p><a href="http://foo.com/bar--baz">test1</a></p>
<p><a href="http://foo.com/bar---baz">test2</a></p>
<p><a href="http://foo.com/bar-17-18-baz">test3</a></p>`,
`"foo ==(bar)==":#foobar`,
` <p><a href="#foobar">foo (bar)</a></p>`,
`!http://render.mathim.com/A%5EtAx%20%3D%20A%5Et%28Ax%29.!`,
` <p><img src="http://render.mathim.com/A%5EtAx%20%3D%20A%5Et%28Ax%29." alt="" /></p>`,
`* Point one
* Point two
## Step 1
## Step 2
## Step 3
* Point three
** Sub point 1
** Sub point 2`,
` <ul>
<li>Point one</li>
<li>Point two
<ol>
<li>Step 1</li>
<li>Step 2</li>
<li>Step 3</li>
</ol></li>
<li>Point three
<ul>
<li>Sub point 1</li>
<li>Sub point 2</li>
</ul></li>
</ul>`,
`@array[4] = 8@`,
` <p><code>array[4] = 8</code></p>`,
`#{color:blue} one
# two
# three`,
` <ol style="color:blue;">
<li>one</li>
<li>two</li>
<li>three</li>
</ol>`,
`Links (like "this":http://foo.com), are now mangled in 2.1.0, whereas 2.0 parsed them correctly.`,
` <p>Links (like <a href="http://foo.com">this</a>), are now mangled in 2.1.0, whereas 2.0 parsed them correctly.</p>`,
`@monospaced text@, followed by text`,
` <p><code>monospaced text</code>, followed by text</p>`,
`h2. A header
some text`,
` <h2>A header</h2>
<p>some text</p>`,
`*:(foo)foo bar baz*`,
` <p><strong cite="foo">foo bar baz</strong></p>`,
`pre.. foo bar baz
quux`,
`<pre>foo bar baz
quux
</pre>`,
`line of text
leading spaces`,
` <p>line of text</p>
leading spaces`,
`"some text":http://www.example.com/?q=foo%20bar and more text`,
` <p><a href="http://www.example.com/?q=foo%20bar">some text</a> and more text</p>`,
`(??some text??)`,
` <p>(<cite>some text</cite>)</p>`,
`(*bold text*)`,
` <p>(<strong>bold text</strong>)</p>`,
`H[~2~]O`,
` <p>H<sub>2</sub>O</p>`,
`p=. Où est l'école, l'église s'il vous plaît?`,
` <p style="text-align:center;">Où est l’école, l’église s’il vous plaît?</p>`,
`p=. *_The_* _*Prisoner*_`,
` <p style="text-align:center;"><strong><em>The</em></strong> <em><strong>Prisoner</strong></em></p>`,
`p=. "An emphasised _word._" & "*A spanned phrase.*" `,
` <p style="text-align:center;">“An emphasised <em>word.</em>” & “<strong>A spanned phrase.</strong>” </p>`,
`p=. "*Here*'s a word!" `,
` <p style="text-align:center;">“<strong>Here</strong>’s a word!” </p>`,
`p=. "Please visit our "Textile Test Page":http://textile.sitemonks.com" `,
` <p style="text-align:center;">“Please visit our <a href="http://textile.sitemonks.com">Textile Test Page</a>” </p>`,
`p=. Tell me, what is AJAX(Asynchronous Javascript and XML), please?`,
` <p style="text-align:center;">Tell me, what is <acronym title="Asynchronous Javascript and XML"><span class="caps">AJAX</span></acronym>, please?</p>`,
`p{font-size:0.8em}. *TxStyle* is a documentation project of Textile 2.4 for "Textpattern CMS":http://texpattern.com.`,
` <p style="font-size:0.8em;"><strong>TxStyle</strong> is a documentation project of Textile 2.4 for <a href="http://texpattern.com">Textpattern <span class="caps">CMS</span></a>.</p>`,
`"Übermensch":http://de/wikipedia.org/wiki/Übermensch`,
` <p><a href="http://de/wikipedia.org/wiki/%C3%9Cbermensch">Übermensch</a></p>`,
`Here is some text with a <!-- Commented out[1] --> block.
<!-- Here is a single <span>line</span> comment block -->
<!-- Here is a whole
multiline
<span>HTML</span>
Comment
-->
bc. <!-- Here is a comment block in a code block. -->`,
` <p>Here is some text with a<!-- Commented out[1] --> block.</p>
<p><!-- Here is a single <span>line</span> comment block --></p>
<p><!-- Here is a whole
multiline
<span>HTML</span>
Comment
--></p>
<pre><code><!-- Here is a comment block in a code block. -->
</code></pre>`,
`"Textile(c)" is a registered(r) 'trademark' of Textpattern(tm) -- or TXP(That's textpattern!) -- at least it was - back in '88 when 2x4 was (+/-)5(o)C ... QED!
p{font-size: 200%;}. 2(1/4) 3(1/2) 4(3/4)`,
` <p>“Textile©” is a registered® ‘trademark’ of Textpattern™ — or <acronym title="That’s textpattern!"><span class="caps">TXP</span></acronym> — at least it was – back in ’88 when 2×4 was ±5°C … <span class="caps">QED</span>!</p>
<p style="font-size: 200%;">2¼ 3½ 4¾</p>`,
`|=. Testing colgroup and col syntax
|:\5. 80
|a|b|c|d|e|
|=. Testing colgroup and col syntax|
|:\5. 80|
|a|b|c|d|e|`,
` <table>
<caption>Testing colgroup and col syntax</caption>
<colgroup span="5" width="80">
</colgroup>
<tr>
<td>a</td>
<td>b</td>
<td>c</td>
<td>d</td>
<td>e</td>
</tr>
</table>
<table>
<caption>Testing colgroup and col syntax</caption>
<colgroup span="5" width="80">
</colgroup>
<tr>
<td>a</td>
<td>b</td>
<td>c</td>
<td>d</td>
<td>e</td>
</tr>
</table>`,
`table(#dvds){border-collapse:collapse}. Great films on DVD employing Textile summary, caption, thead, tfoot, two tbody elements and colgroups
|={font-size:140%;margin-bottom:15px}. DVDs with two Textiled tbody elements
|:\3. 100 |{background:#ddd}|250||50|300|
|^(header).
|_. Title |_. Starring |_. Director |_. Writer |_. Notes |
|~(footer).
|\5=. This is the tfoot, centred |
|-(toplist){background:#c5f7f6}.
| _The Usual Suspects_ | Benicio Del Toro, Gabriel Byrne, Stephen Baldwin, Kevin Spacey | Bryan Singer | Chris McQaurrie | One of the finest films ever made |
| _Se7en_ | Morgan Freeman, Brad Pitt, Kevin Spacey | David Fincher | Andrew Kevin Walker | Great psychological thriller |
| _Primer_ | David Sullivan, Shane Carruth | Shane Carruth | Shane Carruth | Amazing insight into trust and human psychology <br />rather than science fiction. Terrific! |
| _District 9_ | Sharlto Copley, Jason Cope | Neill Blomkamp | Neill Blomkamp, Terri Tatchell | Social commentary layered on thick,
but boy is it done well |
|-(medlist){background:#e7e895;}.
| _Arlington Road_ | Tim Robbins, Jeff Bridges | Mark Pellington | Ehren Kruger | Awesome study in neighbourly relations |
| _Phone Booth_ | Colin Farrell, Kiefer Sutherland, Forest Whitaker | Joel Schumacher | Larry Cohen | Edge-of-the-seat stuff in this
short but brilliantly executed thriller |`,
` <table style="border-collapse:collapse;" id="dvds" summary="Great films on DVD employing Textile summary, caption, thead, tfoot, two tbody elements and colgroups">
<caption style="font-size:140%; margin-bottom:15px;"><span class="caps">DVD</span>s with two Textiled tbody elements</caption>
<colgroup span="3" width="100">
<col style="background:#ddd;" />
<col width="250" />
<col />
<col width="50" />
<col width="300" />
</colgroup>
<thead class="header">
<tr>
<th>Title </th>
<th>Starring </th>
<th>Director </th>
<th>Writer </th>
<th>Notes </th>
</tr>
</thead>
<tfoot class="footer">
<tr>
<td style="text-align:center;" colspan="5">This is the tfoot, centred </td>
</tr>
</tfoot>
<tbody style="background:#c5f7f6;" class="toplist">
<tr>
<td> <em>The Usual Suspects</em> </td>
<td> Benicio Del Toro, Gabriel Byrne, Stephen Baldwin, Kevin Spacey </td>
<td> Bryan Singer </td>
<td> Chris McQaurrie </td>
<td> One of the finest films ever made </td>
</tr>
<tr>
<td> <em>Se7en</em> </td>
<td> Morgan Freeman, Brad Pitt, Kevin Spacey </td>
<td> David Fincher </td>
<td> Andrew Kevin Walker </td>
<td> Great psychological thriller </td>
</tr>
<tr>
<td> <em>Primer</em> </td>
<td> David Sullivan, Shane Carruth </td>
<td> Shane Carruth </td>
<td> Shane Carruth </td>
<td> Amazing insight into trust and human psychology <br />
rather than science fiction. Terrific! </td>
</tr>
<tr>
<td> <em>District 9</em> </td>
<td> Sharlto Copley, Jason Cope </td>
<td> Neill Blomkamp </td>
<td> Neill Blomkamp, Terri Tatchell </td>
<td> Social commentary layered on thick,<br />
but boy is it done well </td>
</tr>
</tbody>
<tbody style="background:#e7e895;" class="medlist">
<tr>
<td> <em>Arlington Road</em> </td>
<td> Tim Robbins, Jeff Bridges </td>
<td> Mark Pellington </td>
<td> Ehren Kruger </td>
<td> Awesome study in neighbourly relations </td>
</tr>
<tr>
<td> <em>Phone Booth</em> </td>
<td> Colin Farrell, Kiefer Sutherland, Forest Whitaker </td>
<td> Joel Schumacher </td>
<td> Larry Cohen </td>
<td> Edge-of-the-seat stuff in this<br />
short but brilliantly executed thriller </td>
</tr>
</tbody>
</table>`,
`-(hot) *coffee* := Hot _and_ black
-(hot#tea) tea := Also hot, but a little less black
-(cold) milk := Nourishing beverage for baby cows.
Cold drink that goes great with cookies. =:
-(hot) coffee := Hot and black
-(hot#tea) tea := Also hot, but a little less black
-(cold) milk :=
Nourishing beverage for baby cows.
Cold drink that goes great with cookies. =:`,
`<dl>
<dt class="hot"><strong>coffee</strong></dt>
<dd>Hot <em>and</em> black</dd>
<dt class="hot" id="tea">tea</dt>
<dd>Also hot, but a little less black</dd>
<dt class="cold">milk</dt>
<dd>Nourishing beverage for baby cows.<br />
Cold drink that goes great with cookies.</dd>
</dl>
<dl>
<dt class="hot">coffee</dt>
<dd>Hot and black</dd>
<dt class="hot" id="tea">tea</dt>
<dd>Also hot, but a little less black</dd>
<dt class="cold">milk</dt>
<dd><p>Nourishing beverage for baby cows.<br />
Cold drink that goes great with cookies.</p></dd>
</dl>`,
`;(class#id) Term 1
: Def 1
: Def 2
: Def 3`,
` <dl class="class" id="id">
<dt>Term 1</dt>
<dd>Def 1</dd>
<dd>Def 2</dd>
<dd>Def 3</dd>
</dl>`,
`*Here is a comment*
Here is *(class)a comment*
*(class)Here is a class* that is a little extended and is
*followed* by a strong word!
bc. ; Content-type: text/javascript
; Cache-Control: no-store, no-cache, must-revalidate, pre-check=0, post-check=0, max-age=0
; Expires: Sat, 24 Jul 2003 05:00:00 GMT
; Last-Modified: Wed, 1 Jan 2025 05:00:00 GMT
; Pragma: no-cache
*123 test*
*test 123*
**123 test**
**test 123**`,
` <p><strong>Here is a comment</strong></p>
<p>Here is <strong class="class">a comment</strong></p>
<p><strong class="class">Here is a class</strong> that is a little extended and is<br />
<strong>followed</strong> by a strong word!</p>
<pre><code>; Content-type: text/javascript
; Cache-Control: no-store, no-cache, must-revalidate, pre-check=0, post-check=0, max-age=0
; Expires: Sat, 24 Jul 2003 05:00:00 GMT
; Last-Modified: Wed, 1 Jan 2025 05:00:00 GMT
; Pragma: no-cache
</code></pre>
<p><strong>123 test</strong></p>
<p><strong>test 123</strong></p>
<p><b>123 test</b></p>
<p><b>test 123</b></p>`,
`#_(first#list) one
# two
# three
test
#(ordered#list2).
# one
# two
# three
test
#_(class_4).
# four
# five
# six
test
#_ seven
# eight
# nine
test
# one
# two
# three
test
#22 22
# 23
# 24`,
` <ol class="first" id="list" start="1">
<li>one</li>
<li>two</li>
<li>three</li>
</ol>
<p>test</p>
<ol class="ordered" id="list2">
<li>one</li>
<li>two</li>
<li>three</li>
</ol>
<p>test</p>
<ol class="class_4" start="4">
<li>four</li>
<li>five</li>
<li>six</li>
</ol>
<p>test</p>
<ol start="7">
<li>seven</li>
<li>eight</li>
<li>nine</li>
</ol>
<p>test</p>
<ol>
<li>one</li>
<li>two</li>
<li>three</li>
</ol>
<p>test</p>
<ol start="22">
<li>22</li>
<li>23</li>
<li>24</li>
</ol>`,
`# one
##3 one.three
## one.four
## one.five
# two
test
#_(continuation#section2).
# three
# four
##_ four.six
## four.seven
# five
test
#21 twenty-one
# twenty-two`,
` <ol>
<li>one
<ol start="3">
<li>one.three</li>
<li>one.four</li>
<li>one.five</li>
</ol></li>
<li>two</li>
</ol>
<p>test</p>
<ol class="continuation" id="section2" start="3">
<li>three</li>
<li>four
<ol start="6">
<li>four.six</li>
<li>four.seven</li>
</ol></li>
<li>five</li>
</ol>
<p>test</p>
<ol start="21">
<li>twenty-one</li>
<li>twenty-two</li>
</ol>`,
`|* Foo[^2^]
* _bar_
* ~baz~ |
|#4 *Four*
# __Five__ |
|-(hot) coffee := Hot and black
-(hot#tea) tea := Also hot, but a little less black
-(cold) milk :=
Nourishing beverage for baby cows.
Cold drink that goes great with cookies. =:
|`,
` <table>
<tr>
<td> <ul>
<li>Foo<sup>2</sup></li>
<li><em>bar</em></li>
<li><sub>baz</sub></li>
</ul></td>
</tr>