@@ -32,10 +32,8 @@
3232</article-meta>
3333</front>
3434<body>
35−<p>
36− This is a set of tests for pandoc. Most of them are adapted from John
37− Gruber’s markdown test suite.
38−</p>
35+<p>This is a set of tests for pandoc. Most of them are adapted from John
36+Gruber’s markdown test suite.</p>
3937<sec id="headers">
4038 <title>Headers</title>
4139 <sec id="level-2-with-an-embedded-link">
@@ -59,93 +57,57 @@
5957 <title>Level 2 with <italic>emphasis</italic></title>
6058 <sec id="level-3">
6159 <title>Level 3</title>
62− <p>
63− with no blank line
64− </p>
60+ <p>with no blank line</p>
6561 </sec>
6662 </sec>
6763 <sec id="level-2">
6864 <title>Level 2</title>
69− <p>
70− with no blank line
71− </p>
65+ <p>with no blank line</p>
7266 </sec>
7367</sec>
7468<sec id="paragraphs">
7569 <title>Paragraphs</title>
76− <p>
77− Here’s a regular paragraph.
78− </p>
79− <p>
80− 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
82− a list item.
83− </p>
84− <p>
85− Here’s one with a bullet. * criminey.
86− </p>
87− <p>
88− There should be a hard line break<break />here.
89− </p>
70+ <p>Here’s a regular paragraph.</p>
71+ <p>In Markdown 1.0.0 and earlier. Version 8. This line turns into a list
72+ item. Because a hard-wrapped line in the middle of a paragraph looked like a
73+ list item.</p>
74+ <p>Here’s one with a bullet. * criminey.</p>
75+ <p>There should be a hard line break<break />here.</p>
9076</sec>
9177<sec id="block-quotes">
9278 <title>Block Quotes</title>
93− <p>
94− E-mail style:
95− </p>
79+ <p>E-mail style:</p>
9680 <disp-quote>
97− <p>
98− This is a block quote. It is pretty short.
99− </p>
81+ <p>This is a block quote. It is pretty short.</p>
10082 </disp-quote>
10183 <disp-quote>
102− <p>
103− Code in a block quote:
104− </p>
84+ <p>Code in a block quote:</p>
10585 <preformat>sub status {
10686 print "working";
10787}</preformat>
108− <p>
109− A list:
110− </p>
88+ <p>A list:</p>
11189 <list list-type="order">
11290 <list-item>
113− <p>
114− item one
115− </p>
91+ <p>item one</p>
11692 </list-item>
11793 <list-item>
118− <p>
119− item two
120− </p>
94+ <p>item two</p>
12195 </list-item>
12296 </list>
123− <p>
124− Nested block quotes:
125− </p>
97+ <p>Nested block quotes:</p>
12698 <disp-quote>
127− <p>
128− nested
129− </p>
99+ <p>nested</p>
130100 </disp-quote>
131101 <disp-quote>
132− <p>
133− nested
134− </p>
102+ <p>nested</p>
135103 </disp-quote>
136104 </disp-quote>
137− <p>
138− This should not be a block quote: 2 > 1.
139− </p>
140− <p>
141− And a following paragraph.
142− </p>
105+ <p>This should not be a block quote: 2 > 1.</p>
106+ <p>And a following paragraph.</p>
143107</sec>
144108<sec id="code-blocks">
145109 <title>Code Blocks</title>
146− <p>
147− Code:
148− </p>
110+ <p>Code:</p>
149111 <preformat>---- (should be four hyphens)
150112
151113sub status {
@@ -153,9 +115,7 @@ sub status {
153115}
154116
155117this code block is indented by one tab</preformat>
156− <p>
157− And:
158− </p>
118+ <p>And:</p>
159119 <preformat> this code block is indented by two tabs
160120
161121These should not be escaped: \$ \\ \> \[ \{</preformat>
@@ -164,231 +124,141 @@ These should not be escaped: \$ \\ \> \[ \{</preformat>
164124 <title>Lists</title>
165125 <sec id="unordered">
166126 <title>Unordered</title>
167− <p>
168− Asterisks tight:
169− </p>
127+ <p>Asterisks tight:</p>
170128 <list list-type="bullet">
171129 <list-item>
172− <p>
173− asterisk 1
174− </p>
130+ <p>asterisk 1</p>
175131 </list-item>
176132 <list-item>
177− <p>
178− asterisk 2
179− </p>
133+ <p>asterisk 2</p>
180134 </list-item>
181135 <list-item>
182− <p>
183− asterisk 3
184− </p>
136+ <p>asterisk 3</p>
185137 </list-item>
186138 </list>
187− <p>
188− Asterisks loose:
189− </p>
139+ <p>Asterisks loose:</p>
190140 <list list-type="bullet">
191141 <list-item>
192− <p>
193− asterisk 1
194− </p>
142+ <p>asterisk 1</p>
195143 </list-item>
196144 <list-item>
197− <p>
198− asterisk 2
199− </p>
145+ <p>asterisk 2</p>
200146 </list-item>
201147 <list-item>
202− <p>
203− asterisk 3
204− </p>
148+ <p>asterisk 3</p>
205149 </list-item>
206150 </list>
207− <p>
208− Pluses tight:
209− </p>
151+ <p>Pluses tight:</p>
210152 <list list-type="bullet">
211153 <list-item>
212− <p>
213− Plus 1
214− </p>
154+ <p>Plus 1</p>
215155 </list-item>
216156 <list-item>
217− <p>
218− Plus 2
219− </p>
157+ <p>Plus 2</p>
220158 </list-item>
221159 <list-item>
222− <p>
223− Plus 3
224− </p>
160+ <p>Plus 3</p>
225161 </list-item>
226162 </list>
227− <p>
228− Pluses loose:
229− </p>
163+ <p>Pluses loose:</p>
230164 <list list-type="bullet">
231165 <list-item>
232− <p>
233− Plus 1
234− </p>
166+ <p>Plus 1</p>
235167 </list-item>
236168 <list-item>
237− <p>
238− Plus 2
239− </p>
169+ <p>Plus 2</p>
240170 </list-item>
241171 <list-item>
242− <p>
243− Plus 3
244− </p>
172+ <p>Plus 3</p>
245173 </list-item>
246174 </list>
247− <p>
248− Minuses tight:
249− </p>
175+ <p>Minuses tight:</p>
250176 <list list-type="bullet">
251177 <list-item>
252− <p>
253− Minus 1
254− </p>
178+ <p>Minus 1</p>
255179 </list-item>
256180 <list-item>
257− <p>
258− Minus 2
259− </p>
181+ <p>Minus 2</p>
260182 </list-item>
261183 <list-item>
262− <p>
263− Minus 3
264− </p>
184+ <p>Minus 3</p>
265185 </list-item>
266186 </list>
267− <p>
268− Minuses loose:
269− </p>
187+ <p>Minuses loose:</p>
270188 <list list-type="bullet">
271189 <list-item>
272− <p>
273− Minus 1
274− </p>
190+ <p>Minus 1</p>
275191 </list-item>
276192 <list-item>
277− <p>
278− Minus 2
279− </p>
193+ <p>Minus 2</p>
280194 </list-item>
281195 <list-item>
282− <p>
283− Minus 3
284− </p>
196+ <p>Minus 3</p>
285197 </list-item>
286198 </list>
287199 </sec>
288200 <sec id="ordered">
289201 <title>Ordered</title>
290− <p>
291− Tight:
292− </p>
202+ <p>Tight:</p>
293203 <list list-type="order">
294204 <list-item>
295− <p>
296− First
297− </p>
205+ <p>First</p>
298206 </list-item>
299207 <list-item>
300− <p>
301− Second
302− </p>
208+ <p>Second</p>
303209 </list-item>
304210 <list-item>
305− <p>
306− Third
307− </p>
211+ <p>Third</p>
308212 </list-item>
309213 </list>
310− <p>
311− and:
312− </p>
214+ <p>and:</p>
313215 <list list-type="order">
314216 <list-item>
315− <p>
316− One
317− </p>
217+ <p>One</p>
318218 </list-item>
319219 <list-item>
320− <p>
321− Two
322− </p>
220+ <p>Two</p>
323221 </list-item>
324222 <list-item>
325− <p>
326− Three
327− </p>
223+ <p>Three</p>
328224 </list-item>
329225 </list>
330− <p>
331− Loose using tabs:
332− </p>
226+ <p>Loose using tabs:</p>
333227 <list list-type="order">
334228 <list-item>
335− <p>
336− First
337− </p>
229+ <p>First</p>
338230 </list-item>
339231 <list-item>
340− <p>
341− Second
342− </p>
232+ <p>Second</p>
343233 </list-item>
344234 <list-item>
345− <p>
346− Third
347− </p>
235+ <p>Third</p>
348236 </list-item>
349237 </list>
350− <p>
351− and using spaces:
352− </p>
238+ <p>and using spaces:</p>
353239 <list list-type="order">
354240 <list-item>
355− <p>
356− One
357− </p>
241+ <p>One</p>
358242 </list-item>
359243 <list-item>
360− <p>
361− Two
362− </p>
244+ <p>Two</p>
363245 </list-item>
364246 <list-item>
365− <p>
366− Three
367− </p>
247+ <p>Three</p>
368248 </list-item>
369249 </list>
370− <p>
371− Multiple paragraphs:
372− </p>
250+ <p>Multiple paragraphs:</p>
373251 <list list-type="order">
374252 <list-item>
375− <p>
376− Item 1, graf one.
377− </p>
378− <p>
379− Item 1. graf two. The quick brown fox jumped over the lazy dog’s
380− back.
381− </p>
253+ <p>Item 1, graf one.</p>
254+ <p>Item 1. graf two. The quick brown fox jumped over the lazy dog’s
255+ back.</p>
382256 </list-item>
383257 <list-item>
384− <p>
385− Item 2.
386− </p>
258+ <p>Item 2.</p>
387259 </list-item>
388260 <list-item>
389− <p>
390− Item 3.
391− </p>
261+ <p>Item 3.</p>
392262 </list-item>
393263 </list>
394264 </sec>
@@ -396,97 +266,63 @@ These should not be escaped: \$ \\ \> \[ \{</preformat>
396266 <title>Nested</title>
397267 <list list-type="bullet">
398268 <list-item>
399− <p>
400− Tab
401− </p>
269+ <p>Tab</p>
402270 <list list-type="bullet">
403271 <list-item>
404− <p>
405− Tab
406− </p>
272+ <p>Tab</p>
407273 <list list-type="bullet">
408274 <list-item>
409− <p>
410− Tab
411− </p>
275+ <p>Tab</p>
412276 </list-item>
413277 </list>
414278 </list-item>
415279 </list>
416280 </list-item>
417281 </list>
418− <p>
419− Here’s another:
420− </p>
282+ <p>Here’s another:</p>
421283 <list list-type="order">
422284 <list-item>
423− <p>
424− First
425− </p>
285+ <p>First</p>
426286 </list-item>
427287 <list-item>
428− <p>
429− Second:
430− </p>
288+ <p>Second:</p>
431289 <list list-type="bullet">
432290 <list-item>
433− <p>
434− Fee
435− </p>
291+ <p>Fee</p>
436292 </list-item>
437293 <list-item>
438− <p>
439− Fie
440− </p>
294+ <p>Fie</p>
441295 </list-item>
442296 <list-item>
443− <p>
444− Foe
445− </p>
297+ <p>Foe</p>
446298 </list-item>
447299 </list>
448300 </list-item>
449301 <list-item>
450− <p>
451− Third
452− </p>
302+ <p>Third</p>
453303 </list-item>
454304 </list>
455− <p>
456− Same thing but with paragraphs:
457− </p>
305+ <p>Same thing but with paragraphs:</p>
458306 <list list-type="order">
459307 <list-item>
460− <p>
461− First
462− </p>
308+ <p>First</p>
463309 </list-item>
464310 <list-item>
465− <p>
466− Second:
467− </p>
311+ <p>Second:</p>
468312 <list list-type="bullet">
469313 <list-item>
470− <p>
471− Fee
472− </p>
314+ <p>Fee</p>
473315 </list-item>
474316 <list-item>
475− <p>
476− Fie
477− </p>
317+ <p>Fie</p>
478318 </list-item>
479319 <list-item>
480− <p>
481− Foe
482− </p>
320+ <p>Foe</p>
483321 </list-item>
484322 </list>
485323 </list-item>
486324 <list-item>
487− <p>
488− Third
489− </p>
325+ <p>Third</p>
490326 </list-item>
491327 </list>
492328 </sec>
@@ -494,24 +330,16 @@ These should not be escaped: \$ \\ \> \[ \{</preformat>
494330 <title>Tabs and spaces</title>
495331 <list list-type="bullet">
496332 <list-item>
497− <p>
498− this is a list item indented with tabs
499− </p>
333+ <p>this is a list item indented with tabs</p>
500334 </list-item>
501335 <list-item>
502− <p>
503− this is a list item indented with spaces
504− </p>
336+ <p>this is a list item indented with spaces</p>
505337 <list list-type="bullet">
506338 <list-item>
507− <p>
508− this is an example list item indented with tabs
509− </p>
339+ <p>this is an example list item indented with tabs</p>
510340 </list-item>
511341 <list-item>
512− <p>
513− this is an example list item indented with spaces
514− </p>
342+ <p>this is an example list item indented with spaces</p>
515343 </list-item>
516344 </list>
517345 </list-item>
@@ -521,90 +349,50 @@ These should not be escaped: \$ \\ \> \[ \{</preformat>
521349 <title>Fancy list markers</title>
522350 <list list-type="order">
523351 <list-item>
524− <label>
525− (2)
526− </label>
527− <p>
528− begins with 2
529− </p>
352+ <label>(2)</label>
353+ <p>begins with 2</p>
530354 </list-item>
531355 <list-item>
532− <label>
533− (3)
534− </label>
535− <p>
536− and now 3
537− </p>
538− <p>
539− with a continuation
540− </p>
356+ <label>(3)</label>
357+ <p>and now 3</p>
358+ <p>with a continuation</p>
541359 <list list-type="roman-lower">
542360 <list-item>
543− <label>
544− iv.
545− </label>
546− <p>
547− sublist with roman numerals, starting with 4
548− </p>
361+ <label>iv.</label>
362+ <p>sublist with roman numerals, starting with 4</p>
549363 </list-item>
550364 <list-item>
551− <label>
552− v.
553− </label>
554− <p>
555− more items
556− </p>
365+ <label>v.</label>
366+ <p>more items</p>
557367 <list list-type="alpha-upper">
558368 <list-item>
559− <label>
560− (A)
561− </label>
562− <p>
563− a subsublist
564− </p>
369+ <label>(A)</label>
370+ <p>a subsublist</p>
565371 </list-item>
566372 <list-item>
567− <label>
568− (B)
569− </label>
570− <p>
571− a subsublist
572− </p>
373+ <label>(B)</label>
374+ <p>a subsublist</p>
573375 </list-item>
574376 </list>
575377 </list-item>
576378 </list>
577379 </list-item>
578380 </list>
579− <p>
580− Nesting:
581− </p>
381+ <p>Nesting:</p>
582382 <list list-type="alpha-upper">
583383 <list-item>
584− <p>
585− Upper Alpha
586− </p>
384+ <p>Upper Alpha</p>
587385 <list list-type="roman-upper">
588386 <list-item>
589− <p>
590− Upper Roman.
591− </p>
387+ <p>Upper Roman.</p>
592388 <list list-type="order">
593389 <list-item>
594− <label>
595− (6)
596− </label>
597− <p>
598− Decimal start with 6
599− </p>
390+ <label>(6)</label>
391+ <p>Decimal start with 6</p>
600392 <list list-type="alpha-lower">
601393 <list-item>
602− <label>
603− c)
604− </label>
605− <p>
606− Lower alpha with paren
607− </p>
394+ <label>c)</label>
395+ <p>Lower alpha with paren</p>
608396 </list-item>
609397 </list>
610398 </list-item>
@@ -613,277 +401,163 @@ These should not be escaped: \$ \\ \> \[ \{</preformat>
613401 </list>
614402 </list-item>
615403 </list>
616− <p>
617− Autonumbering:
618− </p>
404+ <p>Autonumbering:</p>
619405 <list list-type="order">
620406 <list-item>
621− <p>
622− Autonumber.
623− </p>
407+ <p>Autonumber.</p>
624408 </list-item>
625409 <list-item>
626− <p>
627− More.
628− </p>
410+ <p>More.</p>
629411 <list list-type="order">
630412 <list-item>
631− <p>
632− Nested.
633− </p>
413+ <p>Nested.</p>
634414 </list-item>
635415 </list>
636416 </list-item>
637417 </list>
638− <p>
639− Should not be a list item:
640− </p>
641− <p>
642− M.A. 2007
643− </p>
644− <p>
645− B. Williams
646− </p>
418+ <p>Should not be a list item:</p>
419+ <p>M.A. 2007</p>
420+ <p>B. Williams</p>
647421 </sec>
648422</sec>
649423<sec id="definition-lists">
650424 <title>Definition Lists</title>
651− <p>
652− Tight using spaces:
653− </p>
425+ <p>Tight using spaces:</p>
654426 <def-list>
655427 <def-item>
656− <term>
657− apple
658− </term>
428+ <term>apple</term>
659429 <def>
660− <p>
661− red fruit
662− </p>
430+ <p>red fruit</p>
663431 </def>
664432 </def-item>
665433 <def-item>
666− <term>
667− orange
668− </term>
434+ <term>orange</term>
669435 <def>
670− <p>
671− orange fruit
672− </p>
436+ <p>orange fruit</p>
673437 </def>
674438 </def-item>
675439 <def-item>
676− <term>
677− banana
678− </term>
440+ <term>banana</term>
679441 <def>
680− <p>
681− yellow fruit
682− </p>
442+ <p>yellow fruit</p>
683443 </def>
684444 </def-item>
685445 </def-list>
686− <p>
687− Tight using tabs:
688− </p>
446+ <p>Tight using tabs:</p>
689447 <def-list>
690448 <def-item>
691− <term>
692− apple
693− </term>
449+ <term>apple</term>
694450 <def>
695− <p>
696− red fruit
697− </p>
451+ <p>red fruit</p>
698452 </def>
699453 </def-item>
700454 <def-item>
701− <term>
702− orange
703− </term>
455+ <term>orange</term>
704456 <def>
705− <p>
706− orange fruit
707− </p>
457+ <p>orange fruit</p>
708458 </def>
709459 </def-item>
710460 <def-item>
711− <term>
712− banana
713− </term>
461+ <term>banana</term>
714462 <def>
715− <p>
716− yellow fruit
717− </p>
463+ <p>yellow fruit</p>
718464 </def>
719465 </def-item>
720466 </def-list>
721− <p>
722− Loose:
723− </p>
467+ <p>Loose:</p>
724468 <def-list>
725469 <def-item>
726− <term>
727− apple
728− </term>
470+ <term>apple</term>
729471 <def>
730− <p>
731− red fruit
732− </p>
472+ <p>red fruit</p>
733473 </def>
734474 </def-item>
735475 <def-item>
736− <term>
737− orange
738− </term>
476+ <term>orange</term>
739477 <def>
740− <p>
741− orange fruit
742− </p>
478+ <p>orange fruit</p>
743479 </def>
744480 </def-item>
745481 <def-item>
746− <term>
747− banana
748− </term>
482+ <term>banana</term>
749483 <def>
750− <p>
751− yellow fruit
752− </p>
484+ <p>yellow fruit</p>
753485 </def>
754486 </def-item>
755487 </def-list>
756− <p>
757− Multiple blocks with italics:
758− </p>
488+ <p>Multiple blocks with italics:</p>
759489 <def-list>
760490 <def-item>
761− <term>
762− <italic>apple</italic>
763− </term>
491+ <term><italic>apple</italic></term>
764492 <def>
765− <p>
766− red fruit
767− </p>
768− <p>
769− contains seeds, crisp, pleasant to taste
770− </p>
493+ <p>red fruit</p>
494+ <p>contains seeds, crisp, pleasant to taste</p>
771495 </def>
772496 </def-item>
773497 <def-item>
774− <term>
775− <italic>orange</italic>
776− </term>
498+ <term><italic>orange</italic></term>
777499 <def>
778− <p>
779− orange fruit
780− </p>
500+ <p>orange fruit</p>
781501 <preformat>{ orange code block }</preformat>
782502 <disp-quote>
783− <p>
784− orange block quote
785− </p>
503+ <p>orange block quote</p>
786504 </disp-quote>
787505 </def>
788506 </def-item>
789507 </def-list>
790− <p>
791− Multiple definitions, tight:
792− </p>
508+ <p>Multiple definitions, tight:</p>
793509 <def-list>
794510 <def-item>
795− <term>
796− apple
797− </term>
511+ <term>apple</term>
798512 <def>
799− <p>
800− red fruit
801− </p>
802− <p>
803− computer
804− </p>
513+ <p>red fruit</p>
514+ <p>computer</p>
805515 </def>
806516 </def-item>
807517 <def-item>
808− <term>
809− orange
810− </term>
518+ <term>orange</term>
811519 <def>
812− <p>
813− orange fruit
814− </p>
815− <p>
816− bank
817− </p>
520+ <p>orange fruit</p>
521+ <p>bank</p>
818522 </def>
819523 </def-item>
820524 </def-list>
821− <p>
822− Multiple definitions, loose:
823− </p>
525+ <p>Multiple definitions, loose:</p>
824526 <def-list>
825527 <def-item>
826− <term>
827− apple
828− </term>
528+ <term>apple</term>
829529 <def>
830− <p>
831− red fruit
832− </p>
833− <p>
834− computer
835− </p>
530+ <p>red fruit</p>
531+ <p>computer</p>
836532 </def>
837533 </def-item>
838534 <def-item>
839− <term>
840− orange
841− </term>
535+ <term>orange</term>
842536 <def>
843− <p>
844− orange fruit
845− </p>
846− <p>
847− bank
848− </p>
537+ <p>orange fruit</p>
538+ <p>bank</p>
849539 </def>
850540 </def-item>
851541 </def-list>
852− <p>
853− Blank line after term, indented marker, alternate markers:
854− </p>
542+ <p>Blank line after term, indented marker, alternate markers:</p>
855543 <def-list>
856544 <def-item>
857− <term>
858− apple
859− </term>
545+ <term>apple</term>
860546 <def>
861− <p>
862− red fruit
863− </p>
864− <p>
865− computer
866− </p>
547+ <p>red fruit</p>
548+ <p>computer</p>
867549 </def>
868550 </def-item>
869551 <def-item>
870− <term>
871− orange
872− </term>
552+ <term>orange</term>
873553 <def>
874− <p>
875− orange fruit
876− </p>
554+ <p>orange fruit</p>
877555 <list list-type="order">
878556 <list-item>
879− <p>
880− sublist
881− </p>
557+ <p>sublist</p>
882558 </list-item>
883559 <list-item>
884− <p>
885− sublist
886− </p>
560+ <p>sublist</p>
887561 </list-item>
888562 </list>
889563 </def>
@@ -892,555 +566,315 @@ These should not be escaped: \$ \\ \> \[ \{</preformat>
892566</sec>
893567<sec id="html-blocks">
894568 <title>HTML Blocks</title>
895− <p>
896− Simple block on one line:
897− </p>
569+ <p>Simple block on one line:</p>
898570 <boxed-text>
899− <p>
900− foo
901− </p>
571+ <p>foo</p>
902572 </boxed-text>
903− <p>
904− And nested without indentation:
905− </p>
573+ <p>And nested without indentation:</p>
906574 <boxed-text>
907575 <boxed-text>
908576 <boxed-text>
909− <p>
910− foo
911− </p>
577+ <p>foo</p>
912578 </boxed-text>
913579 </boxed-text>
914580 <boxed-text>
915− <p>
916− bar
917− </p>
581+ <p>bar</p>
918582 </boxed-text>
919583 </boxed-text>
920− <p>
921− Interpreted markdown in a table:
922− </p>
923− <p>
924− This is <italic>emphasized</italic>
925− </p>
926− <p>
927− And this is <bold role="strong">strong</bold>
928− </p>
929− <p>
930− Here’s a simple block:
931− </p>
584+ <p>Interpreted markdown in a table:</p>
585+ <p>This is <italic>emphasized</italic></p>
586+ <p>And this is <bold role="strong">strong</bold></p>
587+ <p>Here’s a simple block:</p>
932588 <boxed-text>
933− <p>
934− foo
935− </p>
589+ <p>foo</p>
936590 </boxed-text>
937− <p>
938− This should be a code block, though:
939− </p>
591+ <p>This should be a code block, though:</p>
940592 <preformat><div>
941593 foo
942594</div></preformat>
943− <p>
944− As should this:
945− </p>
595+ <p>As should this:</p>
946596 <preformat><div>foo</div></preformat>
947− <p>
948− Now, nested:
949− </p>
597+ <p>Now, nested:</p>
950598 <boxed-text>
951599 <boxed-text>
952600 <boxed-text>
953− <p>
954− foo
955− </p>
601+ <p>foo</p>
956602 </boxed-text>
957603 </boxed-text>
958604 </boxed-text>
959− <p>
960− This should just be an HTML comment:
961− </p>
962− <p>
963− Multiline:
964− </p>
965− <p>
966− Code block:
967− </p>
605+ <p>This should just be an HTML comment:</p>
606+ <p>Multiline:</p>
607+ <p>Code block:</p>
968608 <preformat><!-- Comment --></preformat>
969− <p>
970− Just plain comment, with trailing spaces on the line:
971− </p>
972− <p>
973− Code:
974− </p>
609+ <p>Just plain comment, with trailing spaces on the line:</p>
610+ <p>Code:</p>
975611 <preformat><hr /></preformat>
976− <p>
977− Hr’s:
978− </p>
612+ <p>Hr’s:</p>
979613</sec>
980614<sec id="inline-markup">
981615 <title>Inline Markup</title>
982− <p>
983− This is <italic>emphasized</italic>, and so <italic>is this</italic>.
984− </p>
985− <p>
986− This is <bold role="strong">strong</bold>, and so <bold role="strong">is
987− this</bold>.
988− </p>
989− <p>
990− An <italic><ext-link ext-link-type="uri" xlink:href="/url">emphasized
991− link</ext-link></italic>.
992− </p>
993− <p>
994− <bold role="strong"><italic>This is strong and em.</italic></bold>
995− </p>
996− <p>
997− So is <bold role="strong"><italic>this</italic></bold> word.
998− </p>
999− <p>
1000− <bold role="strong"><italic>This is strong and em.</italic></bold>
1001− </p>
1002− <p>
1003− So is <bold role="strong"><italic>this</italic></bold> word.
1004− </p>
1005− <p>
1006− This is code: <monospace>></monospace>, <monospace>$</monospace>,
1007− <monospace>\</monospace>, <monospace>\$</monospace>,
1008− <monospace><html></monospace>.
1009− </p>
1010− <p>
1011− <strike>This is <italic>strikeout</italic>.</strike>
1012− </p>
1013− <p>
1014− Superscripts: a<sup>bc</sup>d a<sup><italic>hello</italic></sup>
1015− a<sup>hello there</sup>.
1016− </p>
1017− <p>
1018− Subscripts: H<sub>2</sub>O, H<sub>23</sub>O, H<sub>many of them</sub>O.
1019− </p>
1020− <p>
1021− These should not be superscripts or subscripts, because of the unescaped
1022− spaces: a^b c^d, a~b c~d.
1023− </p>
616+ <p>This is <italic>emphasized</italic>, and so <italic>is this</italic>.</p>
617+ <p>This is <bold role="strong">strong</bold>, and so <bold role="strong">is
618+ this</bold>.</p>
619+ <p>An <italic><ext-link ext-link-type="uri" xlink:href="/url">emphasized
620+ link</ext-link></italic>.</p>
621+ <p><bold role="strong"><italic>This is strong and em.</italic></bold></p>
622+ <p>So is <bold role="strong"><italic>this</italic></bold> word.</p>
623+ <p><bold role="strong"><italic>This is strong and em.</italic></bold></p>
624+ <p>So is <bold role="strong"><italic>this</italic></bold> word.</p>
625+ <p>This is code: <monospace>></monospace>, <monospace>$</monospace>,
626+ <monospace>\</monospace>, <monospace>\$</monospace>,
627+ <monospace><html></monospace>.</p>
628+ <p><strike>This is <italic>strikeout</italic>.</strike></p>
629+ <p>Superscripts: a<sup>bc</sup>d a<sup><italic>hello</italic></sup>
630+ a<sup>hello there</sup>.</p>
631+ <p>Subscripts: H<sub>2</sub>O, H<sub>23</sub>O,
632+ H<sub>many of them</sub>O.</p>
633+ <p>These should not be superscripts or subscripts, because of the unescaped
634+ spaces: a^b c^d, a~b c~d.</p>
1024635</sec>
1025636<sec id="smart-quotes-ellipses-dashes">
1026637 <title>Smart quotes, ellipses, dashes</title>
1027− <p>
1028− “Hello,” said the spider. “‘Shelob’ is my name.”
1029− </p>
1030− <p>
1031− ‘A’, ‘B’, and ‘C’ are letters.
1032− </p>
1033− <p>
1034− ‘Oak,’ ‘elm,’ and ‘beech’ are names of trees. So is ‘pine.’
1035− </p>
1036− <p>
1037− ‘He said, “I want to go.”’ Were you alive in the 70’s?
1038− </p>
1039− <p>
1040− 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
1042− link</ext-link>”.
1043− </p>
1044− <p>
1045− Some dashes: one—two — three—four — five.
1046− </p>
1047− <p>
1048− Dashes between numbers: 5–7, 255–66, 1987–1999.
1049− </p>
1050− <p>
1051− Ellipses…and…and….
1052− </p>
638+ <p>“Hello,” said the spider. “‘Shelob’ is my name.”</p>
639+ <p>‘A’, ‘B’, and ‘C’ are letters.</p>
640+ <p>‘Oak,’ ‘elm,’ and ‘beech’ are names of trees. So is ‘pine.’</p>
641+ <p>‘He said, “I want to go.”’ Were you alive in the 70’s?</p>
642+ <p>Here is some quoted ‘<monospace>code</monospace>’ and a
643+ “<ext-link ext-link-type="uri" xlink:href="http://example.com/?foo=1&bar=2">quoted
644+ link</ext-link>”.</p>
645+ <p>Some dashes: one—two — three—four — five.</p>
646+ <p>Dashes between numbers: 5–7, 255–66, 1987–1999.</p>
647+ <p>Ellipses…and…and….</p>
1053648</sec>
1054649<sec id="latex">
1055650 <title>LaTeX</title>
1056651 <list list-type="bullet">
1057652 <list-item>
1058− <p>
1059− </p>
653+ <p></p>
1060654 </list-item>
1061655 <list-item>
1062− <p>
1063− <inline-formula><alternatives>
1064− <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>
1066− </p>
656+ <p><inline-formula><alternatives>
657+ <tex-math><![CDATA[2+2=4]]></tex-math>
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>
1067659 </list-item>
1068660 <list-item>
1069− <p>
1070− <inline-formula><alternatives>
1071− <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>
1073− </p>
661+ <p><inline-formula><alternatives>
662+ <tex-math><![CDATA[x \in y]]></tex-math>
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>
1074664 </list-item>
1075665 <list-item>
1076− <p>
1077− <inline-formula><alternatives>
1078− <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>
1080− </p>
666+ <p><inline-formula><alternatives>
667+ <tex-math><![CDATA[\alpha \wedge \omega]]></tex-math>
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>
1081669 </list-item>
1082670 <list-item>
1083− <p>
1084− <inline-formula><alternatives>
1085− <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>
1087− </p>
671+ <p><inline-formula><alternatives>
672+ <tex-math><![CDATA[223]]></tex-math>
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>
1088674 </list-item>
1089675 <list-item>
1090− <p>
1091− <inline-formula><alternatives>
1092− <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
1094− </p>
676+ <p><inline-formula><alternatives>
677+ <tex-math><![CDATA[p]]></tex-math>
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>
1095679 </list-item>
1096680 <list-item>
1097− <p>
1098− 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>
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>
1101− </p>
681+ <p>Here’s some display math: <disp-formula><alternatives>
682+ <tex-math><![CDATA[\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}]]></tex-math>
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>
1102684 </list-item>
1103685 <list-item>
1104− <p>
1105− Here’s one that has a line break in it: <inline-formula><alternatives>
1106− <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>.
1108− </p>
686+ <p>Here’s one that has a line break in it:
687+ <inline-formula><alternatives>
688+ <tex-math><![CDATA[\alpha + \omega \times x^2]]></tex-math>
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>
1109690 </list-item>
1110691 </list>
1111− <p>
1112− These shouldn’t be math:
1113− </p>
692+ <p>These shouldn’t be math:</p>
1114693 <list list-type="bullet">
1115694 <list-item>
1116− <p>
1117− To get the famous equation, write <monospace>$e = mc^2$</monospace>.
1118− </p>
695+ <p>To get the famous equation, write
696+ <monospace>$e = mc^2$</monospace>.</p>
1119697 </list-item>
1120698 <list-item>
1121− <p>
1122− $22,000 is a <italic>lot</italic> of money. So is $34,000. (It worked
1123− if “lot” is emphasized.)
1124− </p>
699+ <p>$22,000 is a <italic>lot</italic> of money. So is $34,000. (It worked
700+ if “lot” is emphasized.)</p>
1125701 </list-item>
1126702 <list-item>
1127− <p>
1128− Shoes ($20) and socks ($5).
1129− </p>
703+ <p>Shoes ($20) and socks ($5).</p>
1130704 </list-item>
1131705 <list-item>
1132− <p>
1133− Escaped <monospace>$</monospace>: $73 <italic>this should be
1134− emphasized</italic> 23$.
1135− </p>
706+ <p>Escaped <monospace>$</monospace>: $73 <italic>this should be
707+ emphasized</italic> 23$.</p>
1136708 </list-item>
1137709 </list>
1138− <p>
1139− Here’s a LaTeX table:
1140− </p>
710+ <p>Here’s a LaTeX table:</p>
1141711</sec>
1142712<sec id="special-characters">
1143713 <title>Special Characters</title>
1144− <p>
1145− Here is some unicode:
1146− </p>
714+ <p>Here is some unicode:</p>
1147715 <list list-type="bullet">
1148716 <list-item>
1149− <p>
1150− I hat: Î
1151− </p>
717+ <p>I hat: Î</p>
1152718 </list-item>
1153719 <list-item>
1154− <p>
1155− o umlaut: ö
1156− </p>
720+ <p>o umlaut: ö</p>
1157721 </list-item>
1158722 <list-item>
1159− <p>
1160− section: §
1161− </p>
723+ <p>section: §</p>
1162724 </list-item>
1163725 <list-item>
1164− <p>
1165− set membership: ∈
1166− </p>
726+ <p>set membership: ∈</p>
1167727 </list-item>
1168728 <list-item>
1169− <p>
1170− copyright: ©
1171− </p>
729+ <p>copyright: ©</p>
1172730 </list-item>
1173731 </list>
1174− <p>
1175− AT&T has an ampersand in their name.
1176− </p>
1177− <p>
1178− AT&T is another way to write it.
1179− </p>
1180− <p>
1181− This & that.
1182− </p>
1183− <p>
1184− 4 < 5.
1185− </p>
1186− <p>
1187− 6 > 5.
1188− </p>
1189− <p>
1190− Backslash: \
1191− </p>
1192− <p>
1193− Backtick: `
1194− </p>
1195− <p>
1196− Asterisk: *
1197− </p>
1198− <p>
1199− Underscore: _
1200− </p>
1201− <p>
1202− Left brace: {
1203− </p>
1204− <p>
1205− Right brace: }
1206− </p>
1207− <p>
1208− Left bracket: [
1209− </p>
1210− <p>
1211− Right bracket: ]
1212− </p>
1213− <p>
1214− Left paren: (
1215− </p>
1216− <p>
1217− Right paren: )
1218− </p>
1219− <p>
1220− Greater-than: >
1221− </p>
1222− <p>
1223− Hash: #
1224− </p>
1225− <p>
1226− Period: .
1227− </p>
1228− <p>
1229− Bang: !
1230− </p>
1231− <p>
1232− Plus: +
1233− </p>
1234− <p>
1235− Minus: -
1236− </p>
732+ <p>AT&T has an ampersand in their name.</p>
733+ <p>AT&T is another way to write it.</p>
734+ <p>This & that.</p>
735+ <p>4 < 5.</p>
736+ <p>6 > 5.</p>
737+ <p>Backslash: \</p>
738+ <p>Backtick: `</p>
739+ <p>Asterisk: *</p>
740+ <p>Underscore: _</p>
741+ <p>Left brace: {</p>
742+ <p>Right brace: }</p>
743+ <p>Left bracket: [</p>
744+ <p>Right bracket: ]</p>
745+ <p>Left paren: (</p>
746+ <p>Right paren: )</p>
747+ <p>Greater-than: ></p>
748+ <p>Hash: #</p>
749+ <p>Period: .</p>
750+ <p>Bang: !</p>
751+ <p>Plus: +</p>
752+ <p>Minus: -</p>
1237753</sec>
1238754<sec id="links">
1239755 <title>Links</title>
1240756 <sec id="explicit">
1241757 <title>Explicit</title>
1242− <p>
1243− Just a <ext-link ext-link-type="uri" xlink:href="/url/">URL</ext-link>.
1244− </p>
1245− <p>
1246− <ext-link ext-link-type="uri" xlink:href="/url/" xlink:title="title">URL
1247− and title</ext-link>.
1248− </p>
1249− <p>
1250− <ext-link ext-link-type="uri" xlink:href="/url/" xlink:title="title preceded by two spaces">URL
1251− and title</ext-link>.
1252− </p>
1253− <p>
1254− <ext-link ext-link-type="uri" xlink:href="/url/" xlink:title="title preceded by a tab">URL
1255− and title</ext-link>.
1256− </p>
1257− <p>
1258− <ext-link ext-link-type="uri" xlink:href="/url/" xlink:title="title with "quotes" in it">URL
1259− and title</ext-link>
1260− </p>
1261− <p>
1262− <ext-link ext-link-type="uri" xlink:href="/url/" xlink:title="title with single quotes">URL
1263− and title</ext-link>
1264− </p>
1265− <p>
1266− <ext-link ext-link-type="uri" xlink:href="/url/with_underscore">with_underscore</ext-link>
1267− </p>
1268− <p>
1269− <ext-link ext-link-type="uri" xlink:href="mailto:nobody@nowhere.net">Email
1270− link</ext-link>
1271− </p>
1272− <p>
1273− <ext-link ext-link-type="uri" xlink:href="">Empty</ext-link>.
1274− </p>
758+ <p>Just a
759+ <ext-link ext-link-type="uri" xlink:href="/url/">URL</ext-link>.</p>
760+ <p><ext-link ext-link-type="uri" xlink:href="/url/" xlink:title="title">URL
761+ and title</ext-link>.</p>
762+ <p><ext-link ext-link-type="uri" xlink:href="/url/" xlink:title="title preceded by two spaces">URL
763+ and title</ext-link>.</p>
764+ <p><ext-link ext-link-type="uri" xlink:href="/url/" xlink:title="title preceded by a tab">URL
765+ and title</ext-link>.</p>
766+ <p><ext-link ext-link-type="uri" xlink:href="/url/" xlink:title="title with "quotes" in it">URL
767+ and title</ext-link></p>
768+ <p><ext-link ext-link-type="uri" xlink:href="/url/" xlink:title="title with single quotes">URL
769+ and title</ext-link></p>
770+ <p><ext-link ext-link-type="uri" xlink:href="/url/with_underscore">with_underscore</ext-link></p>
771+ <p><ext-link ext-link-type="uri" xlink:href="mailto:nobody@nowhere.net">Email
772+ link</ext-link></p>
773+ <p><ext-link ext-link-type="uri" xlink:href="">Empty</ext-link>.</p>
1275774 </sec>
1276775 <sec id="reference">
1277776 <title>Reference</title>
1278− <p>
1279− Foo <ext-link ext-link-type="uri" xlink:href="/url/">bar</ext-link>.
1280− </p>
1281− <p>
1282− With <ext-link ext-link-type="uri" xlink:href="/url/">embedded
1283− [brackets]</ext-link>.
1284− </p>
1285− <p>
1286− <ext-link ext-link-type="uri" xlink:href="/url/">b</ext-link> by itself
1287− should be a link.
1288− </p>
1289− <p>
1290− Indented
1291− <ext-link ext-link-type="uri" xlink:href="/url">once</ext-link>.
1292− </p>
1293− <p>
1294− Indented
1295− <ext-link ext-link-type="uri" xlink:href="/url">twice</ext-link>.
1296− </p>
1297− <p>
1298− Indented
1299− <ext-link ext-link-type="uri" xlink:href="/url">thrice</ext-link>.
1300− </p>
1301− <p>
1302− This should [not][] be a link.
1303− </p>
777+ <p>Foo
778+ <ext-link ext-link-type="uri" xlink:href="/url/">bar</ext-link>.</p>
779+ <p>With <ext-link ext-link-type="uri" xlink:href="/url/">embedded
780+ [brackets]</ext-link>.</p>
781+ <p><ext-link ext-link-type="uri" xlink:href="/url/">b</ext-link> by itself
782+ should be a link.</p>
783+ <p>Indented
784+ <ext-link ext-link-type="uri" xlink:href="/url">once</ext-link>.</p>
785+ <p>Indented
786+ <ext-link ext-link-type="uri" xlink:href="/url">twice</ext-link>.</p>
787+ <p>Indented
788+ <ext-link ext-link-type="uri" xlink:href="/url">thrice</ext-link>.</p>
789+ <p>This should [not][] be a link.</p>
1304790 <preformat>[not]: /url</preformat>
1305− <p>
1306− Foo
1307− <ext-link ext-link-type="uri" xlink:href="/url/" xlink:title="Title with "quotes" inside">bar</ext-link>.
1308− </p>
1309− <p>
1310− Foo
1311− <ext-link ext-link-type="uri" xlink:href="/url/" xlink:title="Title with "quote" inside">biz</ext-link>.
1312− </p>
791+ <p>Foo
792+ <ext-link ext-link-type="uri" xlink:href="/url/" xlink:title="Title with "quotes" inside">bar</ext-link>.</p>
793+ <p>Foo
794+ <ext-link ext-link-type="uri" xlink:href="/url/" xlink:title="Title with "quote" inside">biz</ext-link>.</p>
1313795 </sec>
1314796 <sec id="with-ampersands">
1315797 <title>With ampersands</title>
1316− <p>
1317− Here’s a
1318− <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>.
1320− </p>
1321− <p>
1322− 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>.
1324− </p>
1325− <p>
1326− Here’s an
1327− <ext-link ext-link-type="uri" xlink:href="/script?foo=1&bar=2">inline
1328− link</ext-link>.
1329− </p>
1330− <p>
1331− Here’s an
1332− <ext-link ext-link-type="uri" xlink:href="/script?foo=1&bar=2">inline
1333− link in pointy braces</ext-link>.
1334− </p>
798+ <p>Here’s a
799+ <ext-link ext-link-type="uri" xlink:href="http://example.com/?foo=1&bar=2">link
800+ with an ampersand in the URL</ext-link>.</p>
801+ <p>Here’s a link with an amersand in the link text:
802+ <ext-link ext-link-type="uri" xlink:href="http://att.com/" xlink:title="AT&T">AT&T</ext-link>.</p>
803+ <p>Here’s an
804+ <ext-link ext-link-type="uri" xlink:href="/script?foo=1&bar=2">inline
805+ link</ext-link>.</p>
806+ <p>Here’s an
807+ <ext-link ext-link-type="uri" xlink:href="/script?foo=1&bar=2">inline
808+ link in pointy braces</ext-link>.</p>
1335809 </sec>
1336810 <sec id="autolinks">
1337811 <title>Autolinks</title>
1338− <p>
1339− 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>
1341− </p>
812+ <p>With an ampersand:
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>
1342814 <list list-type="bullet">
1343815 <list-item>
1344− <p>
1345− In a list?
1346− </p>
816+ <p>In a list?</p>
1347817 </list-item>
1348818 <list-item>
1349− <p>
1350− <ext-link ext-link-type="uri" xlink:href="http://example.com/">http://example.com/</ext-link>
1351− </p>
819+ <p><ext-link ext-link-type="uri" xlink:href="http://example.com/">http://example.com/</ext-link></p>
1352820 </list-item>
1353821 <list-item>
1354− <p>
1355− It should.
1356− </p>
822+ <p>It should.</p>
1357823 </list-item>
1358824 </list>
1359− <p>
1360− An e-mail address: <email>nobody@nowhere.net</email>
1361− </p>
825+ <p>An e-mail address: <email>nobody@nowhere.net</email></p>
1362826 <disp-quote>
1363− <p>
1364− Blockquoted:
1365− <ext-link ext-link-type="uri" xlink:href="http://example.com/">http://example.com/</ext-link>
1366− </p>
827+ <p>Blockquoted:
828+ <ext-link ext-link-type="uri" xlink:href="http://example.com/">http://example.com/</ext-link></p>
1367829 </disp-quote>
1368− <p>
1369− Auto-links should not occur here:
1370− <monospace><http://example.com/></monospace>
1371− </p>
830+ <p>Auto-links should not occur here:
831+ <monospace><http://example.com/></monospace></p>
1372832 <preformat>or here: <http://example.com/></preformat>
1373833 </sec>
1374834</sec>
1375835<sec id="images">
1376836 <title>Images</title>
1377− <p>
1378− From “Voyage dans la Lune” by Georges Melies (1902):
1379− </p>
837+ <p>From “Voyage dans la Lune” by Georges Melies (1902):</p>
1380838 <fig>
1381839 <caption>lalune</caption>
1382840 <graphic mimetype="image" mime-subtype="jpeg" xlink:href="lalune.jpg" xlink:title="Voyage dans la Lune" />
1383841 </fig>
1384− <p>
1385− Here is a movie
1386− <inline-graphic mimetype="image" mime-subtype="jpeg" xlink:href="movie.jpg" />
1387− icon.
1388− </p>
842+ <p>Here is a movie
843+ <inline-graphic mimetype="image" mime-subtype="jpeg" xlink:href="movie.jpg" />
844+ icon.</p>
1389845</sec>
1390846<sec id="footnotes">
1391847 <title>Footnotes</title>
1392− <p>
1393− Here is a footnote reference,<fn>
1394− <p>
1395− Here is the footnote. It can go anywhere after the footnote reference.
1396− It need not be placed at the end of the document.
1397− </p>
1398− </fn> and another.<fn>
1399− <p>
1400− Here’s the long note. This one contains multiple blocks.
1401− </p>
1402− <p>
1403− Subsequent blocks are indented to show that they belong to the
1404− footnote (as with list items).
1405− </p>
1406− <preformat> { <code> }</preformat>
1407− <p>
1408− If you want, you can indent every line, but you can also be lazy and
1409− just indent the first line of each block.
1410− </p>
1411− </fn> This should <italic>not</italic> be a footnote reference, because it
1412− contains a space.[^my note] Here is an inline note.<fn>
1413− <p>
1414− 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>
1416− and <monospace>]</monospace> verbatim characters, as well as
1417− [bracketed text].
1418− </p>
1419− </fn>
1420− </p>
848+ <p>Here is a footnote reference,<fn>
849+ <p>Here is the footnote. It can go anywhere after the footnote reference.
850+ It need not be placed at the end of the document.</p>
851+ </fn> and another.<fn>
852+ <p>Here’s the long note. This one contains multiple blocks.</p>
853+ <p>Subsequent blocks are indented to show that they belong to the footnote
854+ (as with list items).</p>
855+ <preformat> { <code> }</preformat>
856+ <p>If you want, you can indent every line, but you can also be lazy and
857+ just indent the first line of each block.</p>
858+ </fn> This should <italic>not</italic> be a footnote reference, because it
859+ contains a space.[^my note] Here is an inline note.<fn>
860+ <p>This is <italic>easier</italic> to type. Inline notes may contain
861+ <ext-link ext-link-type="uri" xlink:href="http://google.com">links</ext-link>
862+ and <monospace>]</monospace> verbatim characters, as well as [bracketed
863+ text].</p>
864+ </fn></p>
1421865 <disp-quote>
1422− <p>
1423− Notes can go in quotes.<fn>
1424− <p>
1425− In quote.
1426− </p>
1427− </fn>
1428− </p>
866+ <p>Notes can go in quotes.<fn>
867+ <p>In quote.</p>
868+ </fn></p>
1429869 </disp-quote>
1430870 <list list-type="order">
1431871 <list-item>
1432− <p>
1433− And in list items.<fn>
1434− <p>
1435− In list.
1436− </p>
1437− </fn>
1438− </p>
872+ <p>And in list items.<fn>
873+ <p>In list.</p>
874+ </fn></p>
1439875 </list-item>
1440876 </list>
1441− <p>
1442− This paragraph should not be part of the note, as it is not indented.
1443− </p>
877+ <p>This paragraph should not be part of the note, as it is not indented.</p>
1444878</sec>
1445879</body>
1446880<back>