@@ -32,10 +32,8 @@
32</article-meta>
32</article-meta>
36− This is a set of tests for pandoc. Most of them are adapted from John
35+<p>This is a set of tests for pandoc. Most of them are adapted from John
37− Gruber’s markdown test suite.
36+Gruber’s markdown test suite.</p>
39<sec id="headers">
37<sec id="headers">
40 <title>Headers</title>
38 <title>Headers</title>
41 <sec id="level-2-with-an-embedded-link">
39 <sec id="level-2-with-an-embedded-link">
@@ -59,93 +57,57 @@
59 <title>Level 2 with <italic>emphasis</italic></title>
57 <title>Level 2 with <italic>emphasis</italic></title>
60 <sec id="level-3">
58 <sec id="level-3">
61 <title>Level 3</title>
59 <title>Level 3</title>
63− with no blank line
60+ <p>with no blank line</p>
67 <sec id="level-2">
63 <sec id="level-2">
68 <title>Level 2</title>
64 <title>Level 2</title>
70− with no blank line
65+ <p>with no blank line</p>
74<sec id="paragraphs">
68<sec id="paragraphs">
75 <title>Paragraphs</title>
69 <title>Paragraphs</title>
77− Here’s a regular paragraph.
70+ <p>Here’s a regular paragraph.</p>
80− In Markdown 1.0.0 and earlier. Version 8. This line turns into a list
71+ <p>In Markdown 1.0.0 and earlier. Version 8. This line turns into a list
81− item. Because a hard-wrapped line in the middle of a paragraph looked like
72+ item. Because a hard-wrapped line in the middle of a paragraph looked like a
82− a list item.
73+ list item.</p>
85− Here’s one with a bullet. * criminey.
74+ <p>Here’s one with a bullet. * criminey.</p>
88− There should be a hard line break<break />here.
75+ <p>There should be a hard line break<break />here.</p>
91<sec id="block-quotes">
77<sec id="block-quotes">
92 <title>Block Quotes</title>
78 <title>Block Quotes</title>
94− E-mail style:
79+ <p>E-mail style:</p>
96 <disp-quote>
80 <disp-quote>
98− This is a block quote. It is pretty short.
81+ <p>This is a block quote. It is pretty short.</p>
100 </disp-quote>
82 </disp-quote>
101 <disp-quote>
83 <disp-quote>
103− Code in a block quote:
84+ <p>Code in a block quote:</p>
105 <preformat>sub status {
85 <preformat>sub status {
106 print "working";
86 print "working";
107}</preformat>
87}</preformat>
109− A list:
88+ <p>A list:</p>
111 <list list-type="order">
89 <list list-type="order">
112 <list-item>
90 <list-item>
114− item one
91+ <p>item one</p>
116 </list-item>
92 </list-item>
117 <list-item>
93 <list-item>
119− item two
94+ <p>item two</p>
121 </list-item>
95 </list-item>
124− Nested block quotes:
97+ <p>Nested block quotes:</p>
126 <disp-quote>
98 <disp-quote>
128− nested
99+ <p>nested</p>
130 </disp-quote>
100 </disp-quote>
131 <disp-quote>
101 <disp-quote>
133− nested
102+ <p>nested</p>
135 </disp-quote>
103 </disp-quote>
136 </disp-quote>
104 </disp-quote>
138− This should not be a block quote: 2 > 1.
105+ <p>This should not be a block quote: 2 > 1.</p>
141− And a following paragraph.
106+ <p>And a following paragraph.</p>
144<sec id="code-blocks">
108<sec id="code-blocks">
145 <title>Code Blocks</title>
109 <title>Code Blocks</title>
147− Code:
110+ <p>Code:</p>
149 <preformat>---- (should be four hyphens)
111 <preformat>---- (should be four hyphens)
151sub status {
113sub status {
@@ -153,9 +115,7 @@ sub status {
155this code block is indented by one tab</preformat>
117this code block is indented by one tab</preformat>
157− And:
118+ <p>And:</p>
159 <preformat> this code block is indented by two tabs
119 <preformat> this code block is indented by two tabs
161These should not be escaped: \$ \\ \> \[ \{</preformat>
121These should not be escaped: \$ \\ \> \[ \{</preformat>
@@ -164,231 +124,141 @@ These should not be escaped: \$ \\ \> \[ \{</preformat>
164 <title>Lists</title>
124 <title>Lists</title>
165 <sec id="unordered">
125 <sec id="unordered">
166 <title>Unordered</title>
126 <title>Unordered</title>
168− Asterisks tight:
127+ <p>Asterisks tight:</p>
170 <list list-type="bullet">
128 <list list-type="bullet">
171 <list-item>
129 <list-item>
173− asterisk 1
130+ <p>asterisk 1</p>
175 </list-item>
131 </list-item>
176 <list-item>
132 <list-item>
178− asterisk 2
133+ <p>asterisk 2</p>
180 </list-item>
134 </list-item>
181 <list-item>
135 <list-item>
183− asterisk 3
136+ <p>asterisk 3</p>
185 </list-item>
137 </list-item>
188− Asterisks loose:
139+ <p>Asterisks loose:</p>
190 <list list-type="bullet">
140 <list list-type="bullet">
191 <list-item>
141 <list-item>
193− asterisk 1
142+ <p>asterisk 1</p>
195 </list-item>
143 </list-item>
196 <list-item>
144 <list-item>
198− asterisk 2
145+ <p>asterisk 2</p>
200 </list-item>
146 </list-item>
201 <list-item>
147 <list-item>
203− asterisk 3
148+ <p>asterisk 3</p>
205 </list-item>
149 </list-item>
208− Pluses tight:
151+ <p>Pluses tight:</p>
210 <list list-type="bullet">
152 <list list-type="bullet">
211 <list-item>
153 <list-item>
213− Plus 1
154+ <p>Plus 1</p>
215 </list-item>
155 </list-item>
216 <list-item>
156 <list-item>
218− Plus 2
157+ <p>Plus 2</p>
220 </list-item>
158 </list-item>
221 <list-item>
159 <list-item>
223− Plus 3
160+ <p>Plus 3</p>
225 </list-item>
161 </list-item>
228− Pluses loose:
163+ <p>Pluses loose:</p>
230 <list list-type="bullet">
164 <list list-type="bullet">
231 <list-item>
165 <list-item>
233− Plus 1
166+ <p>Plus 1</p>
235 </list-item>
167 </list-item>
236 <list-item>
168 <list-item>
238− Plus 2
169+ <p>Plus 2</p>
240 </list-item>
170 </list-item>
241 <list-item>
171 <list-item>
243− Plus 3
172+ <p>Plus 3</p>
245 </list-item>
173 </list-item>
248− Minuses tight:
175+ <p>Minuses tight:</p>
250 <list list-type="bullet">
176 <list list-type="bullet">
251 <list-item>
177 <list-item>
253− Minus 1
178+ <p>Minus 1</p>
255 </list-item>
179 </list-item>
256 <list-item>
180 <list-item>
258− Minus 2
181+ <p>Minus 2</p>
260 </list-item>
182 </list-item>
261 <list-item>
183 <list-item>
263− Minus 3
184+ <p>Minus 3</p>
265 </list-item>
185 </list-item>
268− Minuses loose:
187+ <p>Minuses loose:</p>
270 <list list-type="bullet">
188 <list list-type="bullet">
271 <list-item>
189 <list-item>
273− Minus 1
190+ <p>Minus 1</p>
275 </list-item>
191 </list-item>
276 <list-item>
192 <list-item>
278− Minus 2
193+ <p>Minus 2</p>
280 </list-item>
194 </list-item>
281 <list-item>
195 <list-item>
283− Minus 3
196+ <p>Minus 3</p>
285 </list-item>
197 </list-item>
288 <sec id="ordered">
200 <sec id="ordered">
289 <title>Ordered</title>
201 <title>Ordered</title>
291− Tight:
202+ <p>Tight:</p>
293 <list list-type="order">
203 <list list-type="order">
294 <list-item>
204 <list-item>
296− First
205+ <p>First</p>
298 </list-item>
206 </list-item>
299 <list-item>
207 <list-item>
301− Second
208+ <p>Second</p>
303 </list-item>
209 </list-item>
304 <list-item>
210 <list-item>
306− Third
211+ <p>Third</p>
308 </list-item>
212 </list-item>
311− and:
214+ <p>and:</p>
313 <list list-type="order">
215 <list list-type="order">
314 <list-item>
216 <list-item>
318 </list-item>
218 </list-item>
319 <list-item>
219 <list-item>
323 </list-item>
221 </list-item>
324 <list-item>
222 <list-item>
326− Three
223+ <p>Three</p>
328 </list-item>
224 </list-item>
331− Loose using tabs:
226+ <p>Loose using tabs:</p>
333 <list list-type="order">
227 <list list-type="order">
334 <list-item>
228 <list-item>
336− First
229+ <p>First</p>
338 </list-item>
230 </list-item>
339 <list-item>
231 <list-item>
341− Second
232+ <p>Second</p>
343 </list-item>
233 </list-item>
344 <list-item>
234 <list-item>
346− Third
235+ <p>Third</p>
348 </list-item>
236 </list-item>
351− and using spaces:
238+ <p>and using spaces:</p>
353 <list list-type="order">
239 <list list-type="order">
354 <list-item>
240 <list-item>
358 </list-item>
242 </list-item>
359 <list-item>
243 <list-item>
363 </list-item>
245 </list-item>
364 <list-item>
246 <list-item>
366− Three
247+ <p>Three</p>
368 </list-item>
248 </list-item>
371− Multiple paragraphs:
250+ <p>Multiple paragraphs:</p>
373 <list list-type="order">
251 <list list-type="order">
374 <list-item>
252 <list-item>
376− Item 1, graf one.
253+ <p>Item 1, graf one.</p>
379− Item 1. graf two. The quick brown fox jumped over the lazy dog’s
254+ <p>Item 1. graf two. The quick brown fox jumped over the lazy dog’s
382 </list-item>
256 </list-item>
383 <list-item>
257 <list-item>
385− Item 2.
258+ <p>Item 2.</p>
387 </list-item>
259 </list-item>
388 <list-item>
260 <list-item>
390− Item 3.
261+ <p>Item 3.</p>
392 </list-item>
262 </list-item>
@@ -396,97 +266,63 @@ These should not be escaped: \$ \\ \> \[ \{</preformat>
396 <title>Nested</title>
266 <title>Nested</title>
397 <list list-type="bullet">
267 <list list-type="bullet">
398 <list-item>
268 <list-item>
402 <list list-type="bullet">
270 <list list-type="bullet">
403 <list-item>
271 <list-item>
407 <list list-type="bullet">
273 <list list-type="bullet">
408 <list-item>
274 <list-item>
412 </list-item>
276 </list-item>
414 </list-item>
278 </list-item>
416 </list-item>
280 </list-item>
419− Here’s another:
282+ <p>Here’s another:</p>
421 <list list-type="order">
283 <list list-type="order">
422 <list-item>
284 <list-item>
424− First
285+ <p>First</p>
426 </list-item>
286 </list-item>
427 <list-item>
287 <list-item>
429− Second:
288+ <p>Second:</p>
431 <list list-type="bullet">
289 <list list-type="bullet">
432 <list-item>
290 <list-item>
436 </list-item>
292 </list-item>
437 <list-item>
293 <list-item>
441 </list-item>
295 </list-item>
442 <list-item>
296 <list-item>
446 </list-item>
298 </list-item>
448 </list-item>
300 </list-item>
449 <list-item>
301 <list-item>
451− Third
302+ <p>Third</p>
453 </list-item>
303 </list-item>
456− Same thing but with paragraphs:
305+ <p>Same thing but with paragraphs:</p>
458 <list list-type="order">
306 <list list-type="order">
459 <list-item>
307 <list-item>
461− First
308+ <p>First</p>
463 </list-item>
309 </list-item>
464 <list-item>
310 <list-item>
466− Second:
311+ <p>Second:</p>
468 <list list-type="bullet">
312 <list list-type="bullet">
469 <list-item>
313 <list-item>
473 </list-item>
315 </list-item>
474 <list-item>
316 <list-item>
478 </list-item>
318 </list-item>
479 <list-item>
319 <list-item>
483 </list-item>
321 </list-item>
485 </list-item>
323 </list-item>
486 <list-item>
324 <list-item>
488− Third
325+ <p>Third</p>
490 </list-item>
326 </list-item>
@@ -494,24 +330,16 @@ These should not be escaped: \$ \\ \> \[ \{</preformat>
494 <title>Tabs and spaces</title>
330 <title>Tabs and spaces</title>
495 <list list-type="bullet">
331 <list list-type="bullet">
496 <list-item>
332 <list-item>
498− this is a list item indented with tabs
333+ <p>this is a list item indented with tabs</p>
500 </list-item>
334 </list-item>
501 <list-item>
335 <list-item>
503− this is a list item indented with spaces
336+ <p>this is a list item indented with spaces</p>
505 <list list-type="bullet">
337 <list list-type="bullet">
506 <list-item>
338 <list-item>
508− this is an example list item indented with tabs
339+ <p>this is an example list item indented with tabs</p>
510 </list-item>
340 </list-item>
511 <list-item>
341 <list-item>
513− this is an example list item indented with spaces
342+ <p>this is an example list item indented with spaces</p>
515 </list-item>
343 </list-item>
517 </list-item>
345 </list-item>
@@ -521,90 +349,50 @@ These should not be escaped: \$ \\ \> \[ \{</preformat>
521 <title>Fancy list markers</title>
349 <title>Fancy list markers</title>
522 <list list-type="order">
350 <list list-type="order">
523 <list-item>
351 <list-item>
524− <label>
352+ <label>(2)</label>
528− begins with 2
353+ <p>begins with 2</p>
530 </list-item>
354 </list-item>
531 <list-item>
355 <list-item>
532− <label>
356+ <label>(3)</label>
536− and now 3
357+ <p>and now 3</p>
539− with a continuation
358+ <p>with a continuation</p>
541 <list list-type="roman-lower">
359 <list list-type="roman-lower">
542 <list-item>
360 <list-item>
543− <label>
361+ <label>iv.</label>
547− sublist with roman numerals, starting with 4
362+ <p>sublist with roman numerals, starting with 4</p>
549 </list-item>
363 </list-item>
550 <list-item>
364 <list-item>
551− <label>
365+ <label>v.</label>
555− more items
366+ <p>more items</p>
557 <list list-type="alpha-upper">
367 <list list-type="alpha-upper">
558 <list-item>
368 <list-item>
559− <label>
369+ <label>(A)</label>
563− a subsublist
370+ <p>a subsublist</p>
565 </list-item>
371 </list-item>
566 <list-item>
372 <list-item>
567− <label>
373+ <label>(B)</label>
571− a subsublist
374+ <p>a subsublist</p>
573 </list-item>
375 </list-item>
575 </list-item>
377 </list-item>
577 </list-item>
379 </list-item>
580− Nesting:
381+ <p>Nesting:</p>
582 <list list-type="alpha-upper">
382 <list list-type="alpha-upper">
583 <list-item>
383 <list-item>
585− Upper Alpha
384+ <p>Upper Alpha</p>
587 <list list-type="roman-upper">
385 <list list-type="roman-upper">
588 <list-item>
386 <list-item>
590− Upper Roman.
387+ <p>Upper Roman.</p>
592 <list list-type="order">
388 <list list-type="order">
593 <list-item>
389 <list-item>
594− <label>
390+ <label>(6)</label>
598− Decimal start with 6
391+ <p>Decimal start with 6</p>
600 <list list-type="alpha-lower">
392 <list list-type="alpha-lower">
601 <list-item>
393 <list-item>
602− <label>
394+ <label>c)</label>
606− Lower alpha with paren
395+ <p>Lower alpha with paren</p>
608 </list-item>
396 </list-item>
610 </list-item>
398 </list-item>
@@ -613,277 +401,163 @@ These should not be escaped: \$ \\ \> \[ \{</preformat>
614 </list-item>
402 </list-item>
617− Autonumbering:
404+ <p>Autonumbering:</p>
619 <list list-type="order">
405 <list list-type="order">
620 <list-item>
406 <list-item>
622− Autonumber.
407+ <p>Autonumber.</p>
624 </list-item>
408 </list-item>
625 <list-item>
409 <list-item>
627− More.
410+ <p>More.</p>
629 <list list-type="order">
411 <list list-type="order">
630 <list-item>
412 <list-item>
632− Nested.
413+ <p>Nested.</p>
634 </list-item>
414 </list-item>
636 </list-item>
416 </list-item>
639− Should not be a list item:
418+ <p>Should not be a list item:</p>
642− M.A. 2007
419+ <p>M.A. 2007</p>
645− B. Williams
420+ <p>B. Williams</p>
649<sec id="definition-lists">
423<sec id="definition-lists">
650 <title>Definition Lists</title>
424 <title>Definition Lists</title>
652− Tight using spaces:
425+ <p>Tight using spaces:</p>
654 <def-list>
426 <def-list>
655 <def-item>
427 <def-item>
657− apple
428+ <term>apple</term>
661− red fruit
430+ <p>red fruit</p>
664 </def-item>
432 </def-item>
665 <def-item>
433 <def-item>
667− orange
434+ <term>orange</term>
671− orange fruit
436+ <p>orange fruit</p>
674 </def-item>
438 </def-item>
675 <def-item>
439 <def-item>
677− banana
440+ <term>banana</term>
681− yellow fruit
442+ <p>yellow fruit</p>
684 </def-item>
444 </def-item>
685 </def-list>
445 </def-list>
687− Tight using tabs:
446+ <p>Tight using tabs:</p>
689 <def-list>
447 <def-list>
690 <def-item>
448 <def-item>
692− apple
449+ <term>apple</term>
696− red fruit
451+ <p>red fruit</p>
699 </def-item>
453 </def-item>
700 <def-item>
454 <def-item>
702− orange
455+ <term>orange</term>
706− orange fruit
457+ <p>orange fruit</p>
709 </def-item>
459 </def-item>
710 <def-item>
460 <def-item>
712− banana
461+ <term>banana</term>
716− yellow fruit
463+ <p>yellow fruit</p>
719 </def-item>
465 </def-item>
720 </def-list>
466 </def-list>
722− Loose:
467+ <p>Loose:</p>
724 <def-list>
468 <def-list>
725 <def-item>
469 <def-item>
727− apple
470+ <term>apple</term>
731− red fruit
472+ <p>red fruit</p>
734 </def-item>
474 </def-item>
735 <def-item>
475 <def-item>
737− orange
476+ <term>orange</term>
741− orange fruit
478+ <p>orange fruit</p>
744 </def-item>
480 </def-item>
745 <def-item>
481 <def-item>
747− banana
482+ <term>banana</term>
751− yellow fruit
484+ <p>yellow fruit</p>
754 </def-item>
486 </def-item>
755 </def-list>
487 </def-list>
757− Multiple blocks with italics:
488+ <p>Multiple blocks with italics:</p>
759 <def-list>
489 <def-list>
760 <def-item>
490 <def-item>
762− <italic>apple</italic>
491+ <term><italic>apple</italic></term>
766− red fruit
493+ <p>red fruit</p>
769− contains seeds, crisp, pleasant to taste
494+ <p>contains seeds, crisp, pleasant to taste</p>
772 </def-item>
496 </def-item>
773 <def-item>
497 <def-item>
775− <italic>orange</italic>
498+ <term><italic>orange</italic></term>
779− orange fruit
500+ <p>orange fruit</p>
781 <preformat>{ orange code block }</preformat>
501 <preformat>{ orange code block }</preformat>
782 <disp-quote>
502 <disp-quote>
784− orange block quote
503+ <p>orange block quote</p>
786 </disp-quote>
504 </disp-quote>
788 </def-item>
506 </def-item>
789 </def-list>
507 </def-list>
791− Multiple definitions, tight:
508+ <p>Multiple definitions, tight:</p>
793 <def-list>
509 <def-list>
794 <def-item>
510 <def-item>
796− apple
511+ <term>apple</term>
800− red fruit
513+ <p>red fruit</p>
803− computer
514+ <p>computer</p>
806 </def-item>
516 </def-item>
807 <def-item>
517 <def-item>
809− orange
518+ <term>orange</term>
813− orange fruit
520+ <p>orange fruit</p>
816− bank
521+ <p>bank</p>
819 </def-item>
523 </def-item>
820 </def-list>
524 </def-list>
822− Multiple definitions, loose:
525+ <p>Multiple definitions, loose:</p>
824 <def-list>
526 <def-list>
825 <def-item>
527 <def-item>
827− apple
528+ <term>apple</term>
831− red fruit
530+ <p>red fruit</p>
834− computer
531+ <p>computer</p>
837 </def-item>
533 </def-item>
838 <def-item>
534 <def-item>
840− orange
535+ <term>orange</term>
844− orange fruit
537+ <p>orange fruit</p>
847− bank
538+ <p>bank</p>
850 </def-item>
540 </def-item>
851 </def-list>
541 </def-list>
853− Blank line after term, indented marker, alternate markers:
542+ <p>Blank line after term, indented marker, alternate markers:</p>
855 <def-list>
543 <def-list>
856 <def-item>
544 <def-item>
858− apple
545+ <term>apple</term>
862− red fruit
547+ <p>red fruit</p>
865− computer
548+ <p>computer</p>
868 </def-item>
550 </def-item>
869 <def-item>
551 <def-item>
871− orange
552+ <term>orange</term>
875− orange fruit
554+ <p>orange fruit</p>
877 <list list-type="order">
555 <list list-type="order">
878 <list-item>
556 <list-item>
880− sublist
557+ <p>sublist</p>
882 </list-item>
558 </list-item>
883 <list-item>
559 <list-item>
885− sublist
560+ <p>sublist</p>
887 </list-item>
561 </list-item>
@@ -892,555 +566,315 @@ These should not be escaped: \$ \\ \> \[ \{</preformat>
893<sec id="html-blocks">
567<sec id="html-blocks">
894 <title>HTML Blocks</title>
568 <title>HTML Blocks</title>
896− Simple block on one line:
569+ <p>Simple block on one line:</p>
898 <boxed-text>
570 <boxed-text>
902 </boxed-text>
572 </boxed-text>
904− And nested without indentation:
573+ <p>And nested without indentation:</p>
906 <boxed-text>
574 <boxed-text>
907 <boxed-text>
575 <boxed-text>
908 <boxed-text>
576 <boxed-text>
912 </boxed-text>
578 </boxed-text>
913 </boxed-text>
579 </boxed-text>
914 <boxed-text>
580 <boxed-text>
918 </boxed-text>
582 </boxed-text>
919 </boxed-text>
583 </boxed-text>
921− Interpreted markdown in a table:
584+ <p>Interpreted markdown in a table:</p>
924− This is <italic>emphasized</italic>
585+ <p>This is <italic>emphasized</italic></p>
927− And this is <bold role="strong">strong</bold>
586+ <p>And this is <bold role="strong">strong</bold></p>
930− Here’s a simple block:
587+ <p>Here’s a simple block:</p>
932 <boxed-text>
588 <boxed-text>
936 </boxed-text>
590 </boxed-text>
938− This should be a code block, though:
591+ <p>This should be a code block, though:</p>
940 <preformat><div>
592 <preformat><div>
942</div></preformat>
594</div></preformat>
944− As should this:
595+ <p>As should this:</p>
946 <preformat><div>foo</div></preformat>
596 <preformat><div>foo</div></preformat>
948− Now, nested:
597+ <p>Now, nested:</p>
950 <boxed-text>
598 <boxed-text>
951 <boxed-text>
599 <boxed-text>
952 <boxed-text>
600 <boxed-text>
956 </boxed-text>
602 </boxed-text>
957 </boxed-text>
603 </boxed-text>
958 </boxed-text>
604 </boxed-text>
960− This should just be an HTML comment:
605+ <p>This should just be an HTML comment:</p>
963− Multiline:
606+ <p>Multiline:</p>
966− Code block:
607+ <p>Code block:</p>
968 <preformat><!-- Comment --></preformat>
608 <preformat><!-- Comment --></preformat>
970− Just plain comment, with trailing spaces on the line:
609+ <p>Just plain comment, with trailing spaces on the line:</p>
973− Code:
610+ <p>Code:</p>
975 <preformat><hr /></preformat>
611 <preformat><hr /></preformat>
977− Hr’s:
612+ <p>Hr’s:</p>
980<sec id="inline-markup">
614<sec id="inline-markup">
981 <title>Inline Markup</title>
615 <title>Inline Markup</title>
983− This is <italic>emphasized</italic>, and so <italic>is this</italic>.
616+ <p>This is <italic>emphasized</italic>, and so <italic>is this</italic>.</p>
986− This is <bold role="strong">strong</bold>, and so <bold role="strong">is
617+ <p>This is <bold role="strong">strong</bold>, and so <bold role="strong">is
987− this</bold>.
618+ this</bold>.</p>
990− An <italic><ext-link ext-link-type="uri" xlink:href="/url">emphasized
619+ <p>An <italic><ext-link ext-link-type="uri" xlink:href="/url">emphasized
991− link</ext-link></italic>.
620+ link</ext-link></italic>.</p>
994− <bold role="strong"><italic>This is strong and em.</italic></bold>
621+ <p><bold role="strong"><italic>This is strong and em.</italic></bold></p>
997− So is <bold role="strong"><italic>this</italic></bold> word.
622+ <p>So is <bold role="strong"><italic>this</italic></bold> word.</p>
1000− <bold role="strong"><italic>This is strong and em.</italic></bold>
623+ <p><bold role="strong"><italic>This is strong and em.</italic></bold></p>
1003− So is <bold role="strong"><italic>this</italic></bold> word.
624+ <p>So is <bold role="strong"><italic>this</italic></bold> word.</p>
1006− This is code: <monospace>></monospace>, <monospace>$</monospace>,
625+ <p>This is code: <monospace>></monospace>, <monospace>$</monospace>,
1007− <monospace>\</monospace>, <monospace>\$</monospace>,
626+ <monospace>\</monospace>, <monospace>\$</monospace>,
1008− <monospace><html></monospace>.
627+ <monospace><html></monospace>.</p>
1011− <strike>This is <italic>strikeout</italic>.</strike>
628+ <p><strike>This is <italic>strikeout</italic>.</strike></p>
1014− Superscripts: a<sup>bc</sup>d a<sup><italic>hello</italic></sup>
629+ <p>Superscripts: a<sup>bc</sup>d a<sup><italic>hello</italic></sup>
1015− a<sup>hello there</sup>.
630+ a<sup>hello there</sup>.</p>
1018− Subscripts: H<sub>2</sub>O, H<sub>23</sub>O, H<sub>many of them</sub>O.
631+ <p>Subscripts: H<sub>2</sub>O, H<sub>23</sub>O,
1019− </p>
632+ H<sub>many of them</sub>O.</p>
1021− These should not be superscripts or subscripts, because of the unescaped
633+ <p>These should not be superscripts or subscripts, because of the unescaped
1022− spaces: a^b c^d, a~b c~d.
634+ spaces: a^b c^d, a~b c~d.</p>
1025<sec id="smart-quotes-ellipses-dashes">
636<sec id="smart-quotes-ellipses-dashes">
1026 <title>Smart quotes, ellipses, dashes</title>
637 <title>Smart quotes, ellipses, dashes</title>
1028− “Hello,” said the spider. “‘Shelob’ is my name.”
638+ <p>“Hello,” said the spider. “‘Shelob’ is my name.”</p>
1031− ‘A’, ‘B’, and ‘C’ are letters.
639+ <p>‘A’, ‘B’, and ‘C’ are letters.</p>
1034− ‘Oak,’ ‘elm,’ and ‘beech’ are names of trees. So is ‘pine.’
640+ <p>‘Oak,’ ‘elm,’ and ‘beech’ are names of trees. So is ‘pine.’</p>
1037− ‘He said, “I want to go.”’ Were you alive in the 70’s?
641+ <p>‘He said, “I want to go.”’ Were you alive in the 70’s?</p>
1040− Here is some quoted ‘<monospace>code</monospace>’ and a
642+ <p>Here is some quoted ‘<monospace>code</monospace>’ and a
1041− “<ext-link ext-link-type="uri" xlink:href="http://example.com/?foo=1&bar=2">quoted
643+ “<ext-link ext-link-type="uri" xlink:href="http://example.com/?foo=1&bar=2">quoted
1042− link</ext-link>”.
644+ link</ext-link>”.</p>
1045− Some dashes: one—two — three—four — five.
645+ <p>Some dashes: one—two — three—four — five.</p>
1048− Dashes between numbers: 5–7, 255–66, 1987–1999.
646+ <p>Dashes between numbers: 5–7, 255–66, 1987–1999.</p>
1051− Ellipses…and…and….
647+ <p>Ellipses…and…and….</p>
1054<sec id="latex">
649<sec id="latex">
1055 <title>LaTeX</title>
650 <title>LaTeX</title>
1056 <list list-type="bullet">
651 <list list-type="bullet">
1057 <list-item>
652 <list-item>
1060 </list-item>
654 </list-item>
1061 <list-item>
655 <list-item>
1063− <inline-formula><alternatives>
656+ <p><inline-formula><alternatives>
1064− <tex-math><![CDATA[2+2=4]]></tex-math>
657+ <tex-math><![CDATA[2+2=4]]></tex-math>
1065− <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>2</mml:mn><mml:mo>+</mml:mo><mml:mn>2</mml:mn><mml:mo>=</mml:mo><mml:mn>4</mml:mn></mml:mrow></mml:math></alternatives></inline-formula>
658+ <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>2</mml:mn><mml:mo>+</mml:mo><mml:mn>2</mml:mn><mml:mo>=</mml:mo><mml:mn>4</mml:mn></mml:mrow></mml:math></alternatives></inline-formula></p>
1067 </list-item>
659 </list-item>
1068 <list-item>
660 <list-item>
1070− <inline-formula><alternatives>
661+ <p><inline-formula><alternatives>
1071− <tex-math><![CDATA[x \in y]]></tex-math>
662+ <tex-math><![CDATA[x \in y]]></tex-math>
1072− <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>x</mml:mi><mml:mo>∈</mml:mo><mml:mi>y</mml:mi></mml:mrow></mml:math></alternatives></inline-formula>
663+ <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>x</mml:mi><mml:mo>∈</mml:mo><mml:mi>y</mml:mi></mml:mrow></mml:math></alternatives></inline-formula></p>
1074 </list-item>
664 </list-item>
1075 <list-item>
665 <list-item>
1077− <inline-formula><alternatives>
666+ <p><inline-formula><alternatives>
1078− <tex-math><![CDATA[\alpha \wedge \omega]]></tex-math>
667+ <tex-math><![CDATA[\alpha \wedge \omega]]></tex-math>
1079− <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>α</mml:mi><mml:mo>∧</mml:mo><mml:mi>ω</mml:mi></mml:mrow></mml:math></alternatives></inline-formula>
668+ <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>α</mml:mi><mml:mo>∧</mml:mo><mml:mi>ω</mml:mi></mml:mrow></mml:math></alternatives></inline-formula></p>
1081 </list-item>
669 </list-item>
1082 <list-item>
670 <list-item>
1084− <inline-formula><alternatives>
671+ <p><inline-formula><alternatives>
1085− <tex-math><![CDATA[223]]></tex-math>
672+ <tex-math><![CDATA[223]]></tex-math>
1086− <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mn>223</mml:mn></mml:math></alternatives></inline-formula>
673+ <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mn>223</mml:mn></mml:math></alternatives></inline-formula></p>
1088 </list-item>
674 </list-item>
1089 <list-item>
675 <list-item>
1091− <inline-formula><alternatives>
676+ <p><inline-formula><alternatives>
1092− <tex-math><![CDATA[p]]></tex-math>
677+ <tex-math><![CDATA[p]]></tex-math>
1093− <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>p</mml:mi></mml:math></alternatives></inline-formula>-Tree
678+ <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>p</mml:mi></mml:math></alternatives></inline-formula>-Tree</p>
1095 </list-item>
679 </list-item>
1096 <list-item>
680 <list-item>
1098− Here’s some display math: <disp-formula><alternatives>
681+ <p>Here’s some display math: <disp-formula><alternatives>
1099− <tex-math><![CDATA[\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}]]></tex-math>
682+ <tex-math><![CDATA[\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}]]></tex-math>
1100− <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mfrac><mml:mi>d</mml:mi><mml:mrow><mml:mi>d</mml:mi><mml:mi>x</mml:mi></mml:mrow></mml:mfrac><mml:mi>f</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>x</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>=</mml:mo><mml:munder><mml:mo>lim</mml:mo><mml:mrow><mml:mi>h</mml:mi><mml:mo>→</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:munder><mml:mfrac><mml:mrow><mml:mi>f</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>x</mml:mi><mml:mo>+</mml:mo><mml:mi>h</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>−</mml:mo><mml:mi>f</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>x</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow><mml:mi>h</mml:mi></mml:mfrac></mml:mrow></mml:math></alternatives></disp-formula>
683+ <mml:math display="block" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mfrac><mml:mi>d</mml:mi><mml:mrow><mml:mi>d</mml:mi><mml:mi>x</mml:mi></mml:mrow></mml:mfrac><mml:mi>f</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>x</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>=</mml:mo><mml:munder><mml:mo>lim</mml:mo><mml:mrow><mml:mi>h</mml:mi><mml:mo>→</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:munder><mml:mfrac><mml:mrow><mml:mi>f</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>x</mml:mi><mml:mo>+</mml:mo><mml:mi>h</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo><mml:mo>−</mml:mo><mml:mi>f</mml:mi><mml:mo stretchy="false" form="prefix">(</mml:mo><mml:mi>x</mml:mi><mml:mo stretchy="false" form="postfix">)</mml:mo></mml:mrow><mml:mi>h</mml:mi></mml:mfrac></mml:mrow></mml:math></alternatives></disp-formula></p>
1102 </list-item>
684 </list-item>
1103 <list-item>
685 <list-item>
1105− Here’s one that has a line break in it: <inline-formula><alternatives>
686+ <p>Here’s one that has a line break in it:
687+ <inline-formula><alternatives>
1106− <tex-math><![CDATA[\alpha + \omega \times x^2]]></tex-math>
688+ <tex-math><![CDATA[\alpha + \omega \times x^2]]></tex-math>
1107− <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>α</mml:mi><mml:mo>+</mml:mo><mml:mi>ω</mml:mi><mml:mo>×</mml:mo><mml:msup><mml:mi>x</mml:mi><mml:mn>2</mml:mn></mml:msup></mml:mrow></mml:math></alternatives></inline-formula>.
689+ <mml:math display="inline" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>α</mml:mi><mml:mo>+</mml:mo><mml:mi>ω</mml:mi><mml:mo>×</mml:mo><mml:msup><mml:mi>x</mml:mi><mml:mn>2</mml:mn></mml:msup></mml:mrow></mml:math></alternatives></inline-formula>.</p>
1109 </list-item>
690 </list-item>
1112− These shouldn’t be math:
692+ <p>These shouldn’t be math:</p>
1114 <list list-type="bullet">
693 <list list-type="bullet">
1115 <list-item>
694 <list-item>
1117− To get the famous equation, write <monospace>$e = mc^2$</monospace>.
695+ <p>To get the famous equation, write
1118− </p>
696+ <monospace>$e = mc^2$</monospace>.</p>
1119 </list-item>
697 </list-item>
1120 <list-item>
698 <list-item>
1122− $22,000 is a <italic>lot</italic> of money. So is $34,000. (It worked
699+ <p>$22,000 is a <italic>lot</italic> of money. So is $34,000. (It worked
1123− if “lot” is emphasized.)
700+ if “lot” is emphasized.)</p>
1125 </list-item>
701 </list-item>
1126 <list-item>
702 <list-item>
1128− Shoes ($20) and socks ($5).
703+ <p>Shoes ($20) and socks ($5).</p>
1130 </list-item>
704 </list-item>
1131 <list-item>
705 <list-item>
1133− Escaped <monospace>$</monospace>: $73 <italic>this should be
706+ <p>Escaped <monospace>$</monospace>: $73 <italic>this should be
1134− emphasized</italic> 23$.
707+ emphasized</italic> 23$.</p>
1136 </list-item>
708 </list-item>
1139− Here’s a LaTeX table:
710+ <p>Here’s a LaTeX table:</p>
1142<sec id="special-characters">
712<sec id="special-characters">
1143 <title>Special Characters</title>
713 <title>Special Characters</title>
1145− Here is some unicode:
714+ <p>Here is some unicode:</p>
1147 <list list-type="bullet">
715 <list list-type="bullet">
1148 <list-item>
716 <list-item>
1150− I hat: Î
717+ <p>I hat: Î</p>
1152 </list-item>
718 </list-item>
1153 <list-item>
719 <list-item>
1155− o umlaut: ö
720+ <p>o umlaut: ö</p>
1157 </list-item>
721 </list-item>
1158 <list-item>
722 <list-item>
1160− section: §
723+ <p>section: §</p>
1162 </list-item>
724 </list-item>
1163 <list-item>
725 <list-item>
1165− set membership: ∈
726+ <p>set membership: ∈</p>
1167 </list-item>
727 </list-item>
1168 <list-item>
728 <list-item>
1170− copyright: ©
729+ <p>copyright: ©</p>
1172 </list-item>
730 </list-item>
1175− AT&T has an ampersand in their name.
732+ <p>AT&T has an ampersand in their name.</p>
1178− AT&T is another way to write it.
733+ <p>AT&T is another way to write it.</p>
1181− This & that.
734+ <p>This & that.</p>
1184− 4 < 5.
735+ <p>4 < 5.</p>
1187− 6 > 5.
736+ <p>6 > 5.</p>
1190− Backslash: \
737+ <p>Backslash: \</p>
1193− Backtick: `
738+ <p>Backtick: `</p>
1196− Asterisk: *
739+ <p>Asterisk: *</p>
1199− Underscore: _
740+ <p>Underscore: _</p>
1202− Left brace: {
741+ <p>Left brace: {</p>
1205− Right brace: }
742+ <p>Right brace: }</p>
1208− Left bracket: [
743+ <p>Left bracket: [</p>
1211− Right bracket: ]
744+ <p>Right bracket: ]</p>
1214− Left paren: (
745+ <p>Left paren: (</p>
1217− Right paren: )
746+ <p>Right paren: )</p>
1220− Greater-than: >
747+ <p>Greater-than: ></p>
1223− Hash: #
748+ <p>Hash: #</p>
1226− Period: .
749+ <p>Period: .</p>
1229− Bang: !
750+ <p>Bang: !</p>
1232− Plus: +
751+ <p>Plus: +</p>
1235− Minus: -
752+ <p>Minus: -</p>
1238<sec id="links">
754<sec id="links">
1239 <title>Links</title>
755 <title>Links</title>
1240 <sec id="explicit">
756 <sec id="explicit">
1241 <title>Explicit</title>
757 <title>Explicit</title>
1243− Just a <ext-link ext-link-type="uri" xlink:href="/url/">URL</ext-link>.
759+ <ext-link ext-link-type="uri" xlink:href="/url/">URL</ext-link>.</p>
1246− <ext-link ext-link-type="uri" xlink:href="/url/" xlink:title="title">URL
760+ <p><ext-link ext-link-type="uri" xlink:href="/url/" xlink:title="title">URL
1247− and title</ext-link>.
761+ and title</ext-link>.</p>
1250− <ext-link ext-link-type="uri" xlink:href="/url/" xlink:title="title preceded by two spaces">URL
762+ <p><ext-link ext-link-type="uri" xlink:href="/url/" xlink:title="title preceded by two spaces">URL
1251− and title</ext-link>.
763+ and title</ext-link>.</p>
1254− <ext-link ext-link-type="uri" xlink:href="/url/" xlink:title="title preceded by a tab">URL
764+ <p><ext-link ext-link-type="uri" xlink:href="/url/" xlink:title="title preceded by a tab">URL
1255− and title</ext-link>.
765+ and title</ext-link>.</p>
1258− <ext-link ext-link-type="uri" xlink:href="/url/" xlink:title="title with "quotes" in it">URL
766+ <p><ext-link ext-link-type="uri" xlink:href="/url/" xlink:title="title with "quotes" in it">URL
1259− and title</ext-link>
767+ and title</ext-link></p>
1262− <ext-link ext-link-type="uri" xlink:href="/url/" xlink:title="title with single quotes">URL
768+ <p><ext-link ext-link-type="uri" xlink:href="/url/" xlink:title="title with single quotes">URL
1263− and title</ext-link>
769+ and title</ext-link></p>
1266− <ext-link ext-link-type="uri" xlink:href="/url/with_underscore">with_underscore</ext-link>
770+ <p><ext-link ext-link-type="uri" xlink:href="/url/with_underscore">with_underscore</ext-link></p>
1269− <ext-link ext-link-type="uri" xlink:href="mailto:nobody@nowhere.net">Email
771+ <p><ext-link ext-link-type="uri" xlink:href="mailto:nobody@nowhere.net">Email
1270− link</ext-link>
772+ link</ext-link></p>
1273− <ext-link ext-link-type="uri" xlink:href="">Empty</ext-link>.
773+ <p><ext-link ext-link-type="uri" xlink:href="">Empty</ext-link>.</p>
1276 <sec id="reference">
775 <sec id="reference">
1277 <title>Reference</title>
776 <title>Reference</title>
1279− Foo <ext-link ext-link-type="uri" xlink:href="/url/">bar</ext-link>.
778+ <ext-link ext-link-type="uri" xlink:href="/url/">bar</ext-link>.</p>
1282− With <ext-link ext-link-type="uri" xlink:href="/url/">embedded
779+ <p>With <ext-link ext-link-type="uri" xlink:href="/url/">embedded
1283− [brackets]</ext-link>.
780+ [brackets]</ext-link>.</p>
1286− <ext-link ext-link-type="uri" xlink:href="/url/">b</ext-link> by itself
781+ <p><ext-link ext-link-type="uri" xlink:href="/url/">b</ext-link> by itself
1287− should be a link.
782+ should be a link.</p>
1290− Indented
783+ <p>Indented
1291− <ext-link ext-link-type="uri" xlink:href="/url">once</ext-link>.
784+ <ext-link ext-link-type="uri" xlink:href="/url">once</ext-link>.</p>
1294− Indented
785+ <p>Indented
1295− <ext-link ext-link-type="uri" xlink:href="/url">twice</ext-link>.
786+ <ext-link ext-link-type="uri" xlink:href="/url">twice</ext-link>.</p>
1298− Indented
787+ <p>Indented
1299− <ext-link ext-link-type="uri" xlink:href="/url">thrice</ext-link>.
788+ <ext-link ext-link-type="uri" xlink:href="/url">thrice</ext-link>.</p>
1302− This should [not][] be a link.
789+ <p>This should [not][] be a link.</p>
1304 <preformat>[not]: /url</preformat>
790 <preformat>[not]: /url</preformat>
1307− <ext-link ext-link-type="uri" xlink:href="/url/" xlink:title="Title with "quotes" inside">bar</ext-link>.
792+ <ext-link ext-link-type="uri" xlink:href="/url/" xlink:title="Title with "quotes" inside">bar</ext-link>.</p>
1311− <ext-link ext-link-type="uri" xlink:href="/url/" xlink:title="Title with "quote" inside">biz</ext-link>.
794+ <ext-link ext-link-type="uri" xlink:href="/url/" xlink:title="Title with "quote" inside">biz</ext-link>.</p>
1314 <sec id="with-ampersands">
796 <sec id="with-ampersands">
1315 <title>With ampersands</title>
797 <title>With ampersands</title>
1317− Here’s a
798+ <p>Here’s a
1318− <ext-link ext-link-type="uri" xlink:href="http://example.com/?foo=1&bar=2">link
799+ <ext-link ext-link-type="uri" xlink:href="http://example.com/?foo=1&bar=2">link
1319− with an ampersand in the URL</ext-link>.
800+ with an ampersand in the URL</ext-link>.</p>
1322− Here’s a link with an amersand in the link text:
801+ <p>Here’s a link with an amersand in the link text:
1323− <ext-link ext-link-type="uri" xlink:href="http://att.com/" xlink:title="AT&T">AT&T</ext-link>.
802+ <ext-link ext-link-type="uri" xlink:href="http://att.com/" xlink:title="AT&T">AT&T</ext-link>.</p>
1326− Here’s an
803+ <p>Here’s an
1327− <ext-link ext-link-type="uri" xlink:href="/script?foo=1&bar=2">inline
804+ <ext-link ext-link-type="uri" xlink:href="/script?foo=1&bar=2">inline
1328− link</ext-link>.
805+ link</ext-link>.</p>
1331− Here’s an
806+ <p>Here’s an
1332− <ext-link ext-link-type="uri" xlink:href="/script?foo=1&bar=2">inline
807+ <ext-link ext-link-type="uri" xlink:href="/script?foo=1&bar=2">inline
1333− link in pointy braces</ext-link>.
808+ link in pointy braces</ext-link>.</p>
1336 <sec id="autolinks">
810 <sec id="autolinks">
1337 <title>Autolinks</title>
811 <title>Autolinks</title>
1339− With an ampersand:
812+ <p>With an ampersand:
1340− <ext-link ext-link-type="uri" xlink:href="http://example.com/?foo=1&bar=2">http://example.com/?foo=1&bar=2</ext-link>
813+ <ext-link ext-link-type="uri" xlink:href="http://example.com/?foo=1&bar=2">http://example.com/?foo=1&bar=2</ext-link></p>
1342 <list list-type="bullet">
814 <list list-type="bullet">
1343 <list-item>
815 <list-item>
1345− In a list?
816+ <p>In a list?</p>
1347 </list-item>
817 </list-item>
1348 <list-item>
818 <list-item>
1350− <ext-link ext-link-type="uri" xlink:href="http://example.com/">http://example.com/</ext-link>
819+ <p><ext-link ext-link-type="uri" xlink:href="http://example.com/">http://example.com/</ext-link></p>
1352 </list-item>
820 </list-item>
1353 <list-item>
821 <list-item>
1355− It should.
822+ <p>It should.</p>
1357 </list-item>
823 </list-item>
1360− An e-mail address: <email>nobody@nowhere.net</email>
825+ <p>An e-mail address: <email>nobody@nowhere.net</email></p>
1362 <disp-quote>
826 <disp-quote>
1364− Blockquoted:
827+ <p>Blockquoted:
1365− <ext-link ext-link-type="uri" xlink:href="http://example.com/">http://example.com/</ext-link>
828+ <ext-link ext-link-type="uri" xlink:href="http://example.com/">http://example.com/</ext-link></p>
1367 </disp-quote>
829 </disp-quote>
1369− Auto-links should not occur here:
830+ <p>Auto-links should not occur here:
1370− <monospace><http://example.com/></monospace>
831+ <monospace><http://example.com/></monospace></p>
1372 <preformat>or here: <http://example.com/></preformat>
832 <preformat>or here: <http://example.com/></preformat>
1375<sec id="images">
835<sec id="images">
1376 <title>Images</title>
836 <title>Images</title>
1378− From “Voyage dans la Lune” by Georges Melies (1902):
837+ <p>From “Voyage dans la Lune” by Georges Melies (1902):</p>
1381 <caption>lalune</caption>
839 <caption>lalune</caption>
1382 <graphic mimetype="image" mime-subtype="jpeg" xlink:href="lalune.jpg" xlink:title="Voyage dans la Lune" />
840 <graphic mimetype="image" mime-subtype="jpeg" xlink:href="lalune.jpg" xlink:title="Voyage dans la Lune" />
1385− Here is a movie
842+ <p>Here is a movie
1386− <inline-graphic mimetype="image" mime-subtype="jpeg" xlink:href="movie.jpg" />
843+ <inline-graphic mimetype="image" mime-subtype="jpeg" xlink:href="movie.jpg" />
1387− icon.
844+ icon.</p>
1390<sec id="footnotes">
846<sec id="footnotes">
1391 <title>Footnotes</title>
847 <title>Footnotes</title>
1393− Here is a footnote reference,<fn>
848+ <p>Here is a footnote reference,<fn>
1395− Here is the footnote. It can go anywhere after the footnote reference.
849+ <p>Here is the footnote. It can go anywhere after the footnote reference.
1396− It need not be placed at the end of the document.
850+ It need not be placed at the end of the document.</p>
1398− </fn> and another.<fn>
851+ </fn> and another.<fn>
1400− Here’s the long note. This one contains multiple blocks.
852+ <p>Here’s the long note. This one contains multiple blocks.</p>
1403− Subsequent blocks are indented to show that they belong to the
853+ <p>Subsequent blocks are indented to show that they belong to the footnote
1404− footnote (as with list items).
854+ (as with list items).</p>
1406− <preformat> { <code> }</preformat>
855+ <preformat> { <code> }</preformat>
1408− If you want, you can indent every line, but you can also be lazy and
856+ <p>If you want, you can indent every line, but you can also be lazy and
1409− just indent the first line of each block.
857+ just indent the first line of each block.</p>
1411− </fn> This should <italic>not</italic> be a footnote reference, because it
858+ </fn> This should <italic>not</italic> be a footnote reference, because it
1412− contains a space.[^my note] Here is an inline note.<fn>
859+ contains a space.[^my note] Here is an inline note.<fn>
1414− This is <italic>easier</italic> to type. Inline notes may contain
860+ <p>This is <italic>easier</italic> to type. Inline notes may contain
1415− <ext-link ext-link-type="uri" xlink:href="http://google.com">links</ext-link>
861+ <ext-link ext-link-type="uri" xlink:href="http://google.com">links</ext-link>
1416− and <monospace>]</monospace> verbatim characters, as well as
862+ and <monospace>]</monospace> verbatim characters, as well as [bracketed
1417− [bracketed text].
863+ text].</p>
1421 <disp-quote>
865 <disp-quote>
1423− Notes can go in quotes.<fn>
866+ <p>Notes can go in quotes.<fn>
1425− In quote.
867+ <p>In quote.</p>
1429 </disp-quote>
869 </disp-quote>
1430 <list list-type="order">
870 <list list-type="order">
1431 <list-item>
871 <list-item>
1433− And in list items.<fn>
872+ <p>And in list items.<fn>
1435− In list.
873+ <p>In list.</p>
1439 </list-item>
875 </list-item>
1442− This paragraph should not be part of the note, as it is not indented.
877+ <p>This paragraph should not be part of the note, as it is not indented.</p>