@@ -15,96 +15,119 @@
1515 ><p
1616 >This is a set of tests for pandoc. Most of them are adapted from John Gruber’s markdown test suite.</p
1717 ><hr
18− /><h1 id="headers"
19− >Headers</h1
20− ><h2 id="level-2-with-an-embedded-link"
21− >Level 2 with an <a href="/url"
22− >embedded link</a
23− ></h2
24− ><h3 id="level-3-with-emphasis"
25− >Level 3 with <em
26− >emphasis</em
27− ></h3
28− ><h4 id="level-4"
29− >Level 4</h4
30− ><h5 id="level-5"
31− >Level 5</h5
32− ><h1 id="level-1"
33− >Level 1</h1
34− ><h2 id="level-2-with-emphasis"
35− >Level 2 with <em
36− >emphasis</em
37− ></h2
38− ><h3 id="level-3"
39− >Level 3</h3
40− ><p
41− >with no blank line</p
42− ><h2 id="level-2"
43− >Level 2</h2
44− ><p
45− >with no blank line</p
46− ><hr
47− /><h1 id="paragraphs"
48− >Paragraphs</h1
49− ><p
50− >Here’s a regular paragraph.</p
51− ><p
52− >In Markdown 1.0.0 and earlier. Version 8. This line turns into a list item. Because a hard-wrapped line in the middle of a paragraph looked like a list item.</p
53− ><p
54− >Here’s one with a bullet. * criminey.</p
55− ><p
56− >There should be a hard line break<br
57− />here.</p
58− ><hr
59− /><h1 id="block-quotes"
60− >Block Quotes</h1
61− ><p
62− >E-mail style:</p
63− ><blockquote
64− ><p
65− >This is a block quote. It is pretty short.</p
66− ></blockquote
67− ><blockquote
68− ><p
69− >Code in a block quote:</p
70− ><pre
71− ><code
72− >sub status {
73− print "working";
74−}
75−</code
76− ></pre
18+ /><div id="headers"
19+ ><h1
20+ >Headers</h1
21+ ><div id="level-2-with-an-embedded-link"
22+ ><h2
23+ >Level 2 with an <a href="/url"
24+ >embedded link</a
25+ ></h2
26+ ><div id="level-3-with-emphasis"
27+ ><h3
28+ >Level 3 with <em
29+ >emphasis</em
30+ ></h3
31+ ><div id="level-4"
32+ ><h4
33+ >Level 4</h4
34+ ><div id="level-5"
35+ ><h5
36+ >Level 5</h5
37+ ></div
38+ ></div
39+ ></div
40+ ></div
41+ ></div
42+ ><div id="level-1"
43+ ><h1
44+ >Level 1</h1
45+ ><div id="level-2-with-emphasis"
46+ ><h2
47+ >Level 2 with <em
48+ >emphasis</em
49+ ></h2
50+ ><div id="level-3"
51+ ><h3
52+ >Level 3</h3
53+ ><p
54+ >with no blank line</p
55+ ></div
56+ ></div
57+ ><div id="level-2"
58+ ><h2
59+ >Level 2</h2
60+ ><p
61+ >with no blank line</p
62+ ><hr
63+ /></div
64+ ></div
65+ ><div id="paragraphs"
66+ ><h1
67+ >Paragraphs</h1
7768 ><p
78− >A list:</p
79− ><ol style="list-style-type: decimal;"
80− ><li
81− >item one</li
82− ><li
83− >item two</li
84− ></ol
69+ >Here’s a regular paragraph.</p
70+ ><p
71+ >In Markdown 1.0.0 and earlier. Version 8. This line turns into a list item. Because a hard-wrapped line in the middle of a paragraph looked like a list item.</p
72+ ><p
73+ >Here’s one with a bullet. * criminey.</p
74+ ><p
75+ >There should be a hard line break<br
76+ />here.</p
77+ ><hr
78+ /></div
79+ ><div id="block-quotes"
80+ ><h1
81+ >Block Quotes</h1
8582 ><p
86− >Nested block quotes:</p
83+ >E-mail style:</p
8784 ><blockquote
8885 ><p
89− >nested</p
86+ >This is a block quote. It is pretty short.</p
9087 ></blockquote
9188 ><blockquote
9289 ><p
93− >nested</p
90+ >Code in a block quote:</p
91+ ><pre
92+ ><code
93+ >sub status {
94+ print "working";
95+}
96+</code
97+ ></pre
98+ ><p
99+ >A list:</p
100+ ><ol style="list-style-type: decimal;"
101+ ><li
102+ >item one</li
103+ ><li
104+ >item two</li
105+ ></ol
106+ ><p
107+ >Nested block quotes:</p
108+ ><blockquote
109+ ><p
110+ >nested</p
111+ ></blockquote
112+ ><blockquote
113+ ><p
114+ >nested</p
115+ ></blockquote
94116 ></blockquote
95− ></blockquote
96− ><p
97− >This should not be a block quote: 2 > 1.</p
98− ><p
99− >And a following paragraph.</p
100− ><hr
101− /><h1 id="code-blocks"
102− >Code Blocks</h1
103− ><p
104− >Code:</p
105− ><pre
106− ><code
107− >---- (should be four hyphens)
117+ ><p
118+ >This should not be a block quote: 2 > 1.</p
119+ ><p
120+ >And a following paragraph.</p
121+ ><hr
122+ /></div
123+ ><div id="code-blocks"
124+ ><h1
125+ >Code Blocks</h1
126+ ><p
127+ >Code:</p
128+ ><pre
129+ ><code
130+ >---- (should be four hyphens)
108131
109132sub status {
110133 print "working";
@@ -112,458 +135,474 @@ sub status {
112135
113136this code block is indented by one tab
114137</code
115− ></pre
116− ><p
117− >And:</p
118− ><pre
119− ><code
120− > this code block is indented by two tabs
138+ ></pre
139+ ><p
140+ >And:</p
141+ ><pre
142+ ><code
143+ > this code block is indented by two tabs
121144
122145These should not be escaped: \$ \\ \> \[ \{
123146</code
124− ></pre
125− ><hr
126− /><h1 id="lists"
127− >Lists</h1
128− ><h2 id="unordered"
129− >Unordered</h2
130− ><p
131− >Asterisks tight:</p
132− ><ul
133− ><li
134− >asterisk 1</li
135− ><li
136− >asterisk 2</li
137− ><li
138− >asterisk 3</li
139− ></ul
140− ><p
141− >Asterisks loose:</p
142− ><ul
143− ><li
144− ><p
145− >asterisk 1</p
146− ></li
147− ><li
148− ><p
149− >asterisk 2</p
150− ></li
151− ><li
152− ><p
153− >asterisk 3</p
154− ></li
155− ></ul
156− ><p
157− >Pluses tight:</p
158− ><ul
159− ><li
160− >Plus 1</li
161− ><li
162− >Plus 2</li
163− ><li
164− >Plus 3</li
165− ></ul
166− ><p
167− >Pluses loose:</p
168− ><ul
169− ><li
170− ><p
171− >Plus 1</p
172− ></li
173− ><li
174− ><p
175− >Plus 2</p
176− ></li
177− ><li
178− ><p
179− >Plus 3</p
180− ></li
181− ></ul
182− ><p
183− >Minuses tight:</p
184− ><ul
185− ><li
186− >Minus 1</li
187− ><li
188− >Minus 2</li
189− ><li
190− >Minus 3</li
191− ></ul
192− ><p
193− >Minuses loose:</p
194− ><ul
195− ><li
196− ><p
197− >Minus 1</p
198− ></li
199− ><li
200− ><p
201− >Minus 2</p
202− ></li
203− ><li
204− ><p
205− >Minus 3</p
206− ></li
207− ></ul
208− ><h2 id="ordered"
209− >Ordered</h2
210− ><p
211− >Tight:</p
212− ><ol style="list-style-type: decimal;"
213− ><li
214− >First</li
215− ><li
216− >Second</li
217− ><li
218− >Third</li
219− ></ol
220− ><p
221− >and:</p
222− ><ol style="list-style-type: decimal;"
223− ><li
224− >One</li
225− ><li
226− >Two</li
227− ><li
228− >Three</li
229− ></ol
230− ><p
231− >Loose using tabs:</p
232− ><ol style="list-style-type: decimal;"
233− ><li
234− ><p
235− >First</p
236− ></li
237− ><li
238− ><p
239− >Second</p
240− ></li
241− ><li
242− ><p
243− >Third</p
244− ></li
245− ></ol
246− ><p
247− >and using spaces:</p
248− ><ol style="list-style-type: decimal;"
249− ><li
250− ><p
251− >One</p
252− ></li
253− ><li
254− ><p
255− >Two</p
256− ></li
257− ><li
258− ><p
259− >Three</p
260− ></li
261− ></ol
262− ><p
263− >Multiple paragraphs:</p
264− ><ol style="list-style-type: decimal;"
265− ><li
266− ><p
267− >Item 1, graf one.</p
147+ ></pre
148+ ><hr
149+ /></div
150+ ><div id="lists"
151+ ><h1
152+ >Lists</h1
153+ ><div id="unordered"
154+ ><h2
155+ >Unordered</h2
268156 ><p
269− >Item 1. graf two. The quick brown fox jumped over the lazy dog’s back.</p
270− ></li
271− ><li
272− ><p
273− >Item 2.</p
274− ></li
275− ><li
276− ><p
277− >Item 3.</p
278− ></li
279− ></ol
280− ><h2 id="nested"
281− >Nested</h2
282− ><ul
283− ><li
284− >Tab<ul
157+ >Asterisks tight:</p
158+ ><ul
285159 ><li
286− >Tab<ul
287− ><li
288− >Tab</li
289− ></ul
160+ >asterisk 1</li
161+ ><li
162+ >asterisk 2</li
163+ ><li
164+ >asterisk 3</li
165+ ></ul
166+ ><p
167+ >Asterisks loose:</p
168+ ><ul
169+ ><li
170+ ><p
171+ >asterisk 1</p
172+ ></li
173+ ><li
174+ ><p
175+ >asterisk 2</p
176+ ></li
177+ ><li
178+ ><p
179+ >asterisk 3</p
290180 ></li
291181 ></ul
292− ></li
293− ></ul
294− ><p
295− >Here’s another:</p
296− ><ol style="list-style-type: decimal;"
297− ><li
298− >First</li
299− ><li
300− >Second:<ul
182+ ><p
183+ >Pluses tight:</p
184+ ><ul
301185 ><li
302− >Fee</li
186+ >Plus 1</li
303187 ><li
304− >Fie</li
188+ >Plus 2</li
305189 ><li
306− >Foe</li
190+ >Plus 3</li
307191 ></ul
308− ></li
309− ><li
310− >Third</li
311− ></ol
312− ><p
313− >Same thing but with paragraphs:</p
314− ><ol style="list-style-type: decimal;"
315− ><li
316− ><p
317− >First</p
318− ></li
319− ><li
320− ><p
321− >Second:</p
192+ ><p
193+ >Pluses loose:</p
322194 ><ul
323195 ><li
324− >Fee</li
196+ ><p
197+ >Plus 1</p
198+ ></li
325199 ><li
326− >Fie</li
200+ ><p
201+ >Plus 2</p
202+ ></li
327203 ><li
328− >Foe</li
204+ ><p
205+ >Plus 3</p
206+ ></li
329207 ></ul
330− ></li
331− ><li
332− ><p
333− >Third</p
334− ></li
335− ></ol
336− ><h2 id="tabs-and-spaces"
337− >Tabs and spaces</h2
338− ><ul
339− ><li
340− ><p
341− >this is a list item indented with tabs</p
342− ></li
343− ><li
344− ><p
345− >this is a list item indented with spaces</p
208+ ><p
209+ >Minuses tight:</p
210+ ><ul
211+ ><li
212+ >Minus 1</li
213+ ><li
214+ >Minus 2</li
215+ ><li
216+ >Minus 3</li
217+ ></ul
218+ ><p
219+ >Minuses loose:</p
346220 ><ul
347221 ><li
348222 ><p
349− >this is an example list item indented with tabs</p
223+ >Minus 1</p
224+ ></li
225+ ><li
226+ ><p
227+ >Minus 2</p
350228 ></li
351229 ><li
352230 ><p
353− >this is an example list item indented with spaces</p
231+ >Minus 3</p
354232 ></li
355233 ></ul
356− ></li
357− ></ul
358− ><h2 id="fancy-list-markers"
359− >Fancy list markers</h2
360− ><ol start="2" style="list-style-type: decimal;"
361− ><li
362− >begins with 2</li
363− ><li
364− ><p
365− >and now 3</p
234+ ></div
235+ ><div id="ordered"
236+ ><h2
237+ >Ordered</h2
366238 ><p
367− >with a continuation</p
368− ><ol start="4" style="list-style-type: lower-roman;"
239+ >Tight:</p
240+ ><ol style="list-style-type: decimal;"
369241 ><li
370− >sublist with roman numerals, starting with 4</li
242+ >First</li
371243 ><li
372− >more items<ol style="list-style-type: upper-alpha;"
373− ><li
374− >a subsublist</li
375− ><li
376− >a subsublist</li
377− ></ol
244+ >Second</li
245+ ><li
246+ >Third</li
247+ ></ol
248+ ><p
249+ >and:</p
250+ ><ol style="list-style-type: decimal;"
251+ ><li
252+ >One</li
253+ ><li
254+ >Two</li
255+ ><li
256+ >Three</li
257+ ></ol
258+ ><p
259+ >Loose using tabs:</p
260+ ><ol style="list-style-type: decimal;"
261+ ><li
262+ ><p
263+ >First</p
264+ ></li
265+ ><li
266+ ><p
267+ >Second</p
268+ ></li
269+ ><li
270+ ><p
271+ >Third</p
378272 ></li
379273 ></ol
380− ></li
381− ></ol
382− ><p
383− >Nesting:</p
384− ><ol style="list-style-type: upper-alpha;"
385− ><li
386− >Upper Alpha<ol style="list-style-type: upper-roman;"
274+ ><p
275+ >and using spaces:</p
276+ ><ol style="list-style-type: decimal;"
277+ ><li
278+ ><p
279+ >One</p
280+ ></li
281+ ><li
282+ ><p
283+ >Two</p
284+ ></li
285+ ><li
286+ ><p
287+ >Three</p
288+ ></li
289+ ></ol
290+ ><p
291+ >Multiple paragraphs:</p
292+ ><ol style="list-style-type: decimal;"
293+ ><li
294+ ><p
295+ >Item 1, graf one.</p
296+ ><p
297+ >Item 1. graf two. The quick brown fox jumped over the lazy dog’s back.</p
298+ ></li
299+ ><li
300+ ><p
301+ >Item 2.</p
302+ ></li
303+ ><li
304+ ><p
305+ >Item 3.</p
306+ ></li
307+ ></ol
308+ ></div
309+ ><div id="nested"
310+ ><h2
311+ >Nested</h2
312+ ><ul
387313 ><li
388− >Upper Roman.<ol start="6" style="list-style-type: decimal;"
314+ >Tab<ul
389315 ><li
390− >Decimal start with 6<ol start="3" style="list-style-type: lower-alpha;"
316+ >Tab<ul
391317 ><li
392− >Lower alpha with paren</li
393− ></ol
318+ >Tab</li
319+ ></ul
394320 ></li
395− ></ol
321+ ></ul
396322 ></li
397− ></ol
398− ></li
399− ></ol
400− ><p
401− >Autonumbering:</p
402− ><ol
403− ><li
404− >Autonumber.</li
405− ><li
406− >More.<ol
323+ ></ul
324+ ><p
325+ >Here’s another:</p
326+ ><ol style="list-style-type: decimal;"
407327 ><li
408− >Nested.</li
328+ >First</li
329+ ><li
330+ >Second:<ul
331+ ><li
332+ >Fee</li
333+ ><li
334+ >Fie</li
335+ ><li
336+ >Foe</li
337+ ></ul
338+ ></li
339+ ><li
340+ >Third</li
409341 ></ol
410− ></li
411− ></ol
412− ><p
413− >Should not be a list item:</p
414− ><p
415− >M.A. 2007</p
416− ><p
417− >B. Williams</p
418− ><hr
419− /><h1 id="definition-lists"
420− >Definition Lists</h1
421− ><p
422− >Tight using spaces:</p
423− ><dl
424− ><dt
425− >apple</dt
426− ><dd
427− >red fruit</dd
428− ><dt
429− >orange</dt
430− ><dd
431− >orange fruit</dd
432− ><dt
433− >banana</dt
434− ><dd
435− >yellow fruit</dd
436− ></dl
437− ><p
438− >Tight using tabs:</p
439− ><dl
440− ><dt
441− >apple</dt
442− ><dd
443− >red fruit</dd
444− ><dt
445− >orange</dt
446− ><dd
447− >orange fruit</dd
448− ><dt
449− >banana</dt
450− ><dd
451− >yellow fruit</dd
452− ></dl
453− ><p
454− >Loose:</p
455− ><dl
456− ><dt
457− >apple</dt
458− ><dd
459− ><p
460− >red fruit</p
461− ></dd
342+ ><p
343+ >Same thing but with paragraphs:</p
344+ ><ol style="list-style-type: decimal;"
345+ ><li
346+ ><p
347+ >First</p
348+ ></li
349+ ><li
350+ ><p
351+ >Second:</p
352+ ><ul
353+ ><li
354+ >Fee</li
355+ ><li
356+ >Fie</li
357+ ><li
358+ >Foe</li
359+ ></ul
360+ ></li
361+ ><li
362+ ><p
363+ >Third</p
364+ ></li
365+ ></ol
366+ ></div
367+ ><div id="tabs-and-spaces"
368+ ><h2
369+ >Tabs and spaces</h2
370+ ><ul
371+ ><li
372+ ><p
373+ >this is a list item indented with tabs</p
374+ ></li
375+ ><li
376+ ><p
377+ >this is a list item indented with spaces</p
378+ ><ul
379+ ><li
380+ ><p
381+ >this is an example list item indented with tabs</p
382+ ></li
383+ ><li
384+ ><p
385+ >this is an example list item indented with spaces</p
386+ ></li
387+ ></ul
388+ ></li
389+ ></ul
390+ ></div
391+ ><div id="fancy-list-markers"
392+ ><h2
393+ >Fancy list markers</h2
394+ ><ol start="2" style="list-style-type: decimal;"
395+ ><li
396+ >begins with 2</li
397+ ><li
398+ ><p
399+ >and now 3</p
400+ ><p
401+ >with a continuation</p
402+ ><ol start="4" style="list-style-type: lower-roman;"
403+ ><li
404+ >sublist with roman numerals, starting with 4</li
405+ ><li
406+ >more items<ol style="list-style-type: upper-alpha;"
407+ ><li
408+ >a subsublist</li
409+ ><li
410+ >a subsublist</li
411+ ></ol
412+ ></li
413+ ></ol
414+ ></li
415+ ></ol
416+ ><p
417+ >Nesting:</p
418+ ><ol style="list-style-type: upper-alpha;"
419+ ><li
420+ >Upper Alpha<ol style="list-style-type: upper-roman;"
421+ ><li
422+ >Upper Roman.<ol start="6" style="list-style-type: decimal;"
423+ ><li
424+ >Decimal start with 6<ol start="3" style="list-style-type: lower-alpha;"
425+ ><li
426+ >Lower alpha with paren</li
427+ ></ol
428+ ></li
429+ ></ol
430+ ></li
431+ ></ol
432+ ></li
433+ ></ol
434+ ><p
435+ >Autonumbering:</p
436+ ><ol
437+ ><li
438+ >Autonumber.</li
439+ ><li
440+ >More.<ol
441+ ><li
442+ >Nested.</li
443+ ></ol
444+ ></li
445+ ></ol
446+ ><p
447+ >Should not be a list item:</p
448+ ><p
449+ >M.A. 2007</p
450+ ><p
451+ >B. Williams</p
452+ ><hr
453+ /></div
454+ ></div
455+ ><div id="definition-lists"
456+ ><h1
457+ >Definition Lists</h1
458+ ><p
459+ >Tight using spaces:</p
460+ ><dl
462461 ><dt
463− >orange</dt
464− ><dd
462+ >apple</dt
463+ ><dd
464+ >red fruit</dd
465+ ><dt
466+ >orange</dt
467+ ><dd
468+ >orange fruit</dd
469+ ><dt
470+ >banana</dt
471+ ><dd
472+ >yellow fruit</dd
473+ ></dl
465474 ><p
466− >orange fruit</p
467− ></dd
475+ >Tight using tabs:</p
476+ ><dl
468477 ><dt
469− >banana</dt
470− ><dd
478+ >apple</dt
479+ ><dd
480+ >red fruit</dd
481+ ><dt
482+ >orange</dt
483+ ><dd
484+ >orange fruit</dd
485+ ><dt
486+ >banana</dt
487+ ><dd
488+ >yellow fruit</dd
489+ ></dl
471490 ><p
472− >yellow fruit</p
473− ></dd
474− ></dl
475− ><p
476− >Multiple blocks with italics:</p
477− ><dl
478− ><dt
479− ><em
480− >apple</em
481− ></dt
482− ><dd
483− ><p
484− >red fruit</p
485− ><p
486− >contains seeds, crisp, pleasant to taste</p
487− ></dd
491+ >Loose:</p
492+ ><dl
488493 ><dt
489− ><em
490− >orange</em
491− ></dt
492− ><dd
494+ >apple</dt
495+ ><dd
496+ ><p
497+ >red fruit</p
498+ ></dd
499+ ><dt
500+ >orange</dt
501+ ><dd
502+ ><p
503+ >orange fruit</p
504+ ></dd
505+ ><dt
506+ >banana</dt
507+ ><dd
508+ ><p
509+ >yellow fruit</p
510+ ></dd
511+ ></dl
493512 ><p
494− >orange fruit</p
495− ><pre
496− ><code
497− >{ orange code block }
498−</code
499− ></pre
500− ><blockquote
513+ >Multiple blocks with italics:</p
514+ ><dl
515+ ><dt
516+ ><em
517+ >apple</em
518+ ></dt
519+ ><dd
501520 ><p
502− >orange block quote</p
503− ></blockquote
504− ></dd
505− ></dl
506− ><h1 id="html-blocks"
507− >HTML Blocks</h1
508− ><p
509− >Simple block on one line:</p
510− ><div>foo</div>
521+ >red fruit</p
522+ ><p
523+ >contains seeds, crisp, pleasant to taste</p
524+ ></dd
525+ ><dt
526+ ><em
527+ >orange</em
528+ ></dt
529+ ><dd
530+ ><p
531+ >orange fruit</p
532+ ><pre
533+ ><code
534+ >{ orange code block }
535+</code
536+ ></pre
537+ ><blockquote
538+ ><p
539+ >orange block quote</p
540+ ></blockquote
541+ ></dd
542+ ></dl
543+ ></div
544+ ><div id="html-blocks"
545+ ><h1
546+ >HTML Blocks</h1
547+ ><p
548+ >Simple block on one line:</p
549+ ><div>foo</div>
511550<p
512− >And nested without indentation:</p
513− ><div>
551+ >And nested without indentation:</p
552+ ><div>
514553<div>
515554<div>foo</div>
516555</div>
517556<div>bar</div>
518557</div>
519558<p
520− >Interpreted markdown in a table:</p
521− ><table>
559+ >Interpreted markdown in a table:</p
560+ ><table>
522561<tr>
523562<td>This is <em
524− >emphasized</em
525− ></td>
563+ >emphasized</em
564+ ></td>
526565<td>And this is <strong
527− >strong</strong
528− ></td>
566+ >strong</strong
567+ ></td>
529568</tr>
530569</table>
531570
532571<script type="text/javascript">document.write('This *should not* be interpreted as markdown');</script>
533572<p
534− >Here’s a simple block:</p
535− ><div>
573+ >Here’s a simple block:</p
574+ ><div>
536575 foo</div>
537576<p
538− >This should be a code block, though:</p
539− ><pre
540− ><code
541− ><div>
577+ >This should be a code block, though:</p
578+ ><pre
579+ ><code
580+ ><div>
542581 foo
543582</div>
544583</code
545− ></pre
546− ><p
547− >As should this:</p
548− ><pre
549− ><code
550− ><div>foo</div>
584+ ></pre
585+ ><p
586+ >As should this:</p
587+ ><pre
588+ ><code
589+ ><div>foo</div>
551590</code
552− ></pre
553− ><p
554− >Now, nested:</p
555− ><div>
591+ ></pre
592+ ><p
593+ >Now, nested:</p
594+ ><div>
556595 <div>
557596 <div>
558597 foo</div>
559598 </div>
560599</div>
561600<p
562− >This should just be an HTML comment:</p
563− ><!-- Comment -->
601+ >This should just be an HTML comment:</p
602+ ><!-- Comment -->
564603<p
565− >Multiline:</p
566− ><!--
604+ >Multiline:</p
605+ ><!--
567606Blah
568607Blah
569608-->
@@ -572,25 +611,25 @@ Blah
572611 This is another comment.
573612-->
574613<p
575− >Code block:</p
576− ><pre
577− ><code
578− ><!-- Comment -->
614+ >Code block:</p
615+ ><pre
616+ ><code
617+ ><!-- Comment -->
579618</code
580− ></pre
581− ><p
582− >Just plain comment, with trailing spaces on the line:</p
583− ><!-- foo -->
619+ ></pre
620+ ><p
621+ >Just plain comment, with trailing spaces on the line:</p
622+ ><!-- foo -->
584623<p
585− >Code:</p
586− ><pre
587− ><code
588− ><hr />
624+ >Code:</p
625+ ><pre
626+ ><code
627+ ><hr />
589628</code
590− ></pre
591− ><p
592− >Hr’s:</p
593− ><hr>
629+ ></pre
630+ ><p
631+ >Hr’s:</p
632+ ><hr>
594633
595634<hr />
596635
@@ -608,474 +647,497 @@ Blah
608647
609648<hr class="foo" id="bar">
610649<hr
611− /><h1 id="inline-markup"
612− >Inline Markup</h1
613− ><p
614− >This is <em
615− >emphasized</em
616− >, and so <em
617− >is this</em
618− >.</p
619− ><p
620− >This is <strong
621− >strong</strong
622− >, and so <strong
623− >is this</strong
624− >.</p
625− ><p
626− >An <em
627− ><a href="/url"
628− >emphasized link</a
629− ></em
630− >.</p
631− ><p
632− ><strong
633− ><em
634− >This is strong and em.</em
635− ></strong
636− ></p
637− ><p
638− >So is <strong
639− ><em
640− >this</em
641− ></strong
642− > word.</p
643− ><p
644− ><strong
645− ><em
646− >This is strong and em.</em
647− ></strong
648− ></p
649− ><p
650− >So is <strong
651− ><em
652− >this</em
653− ></strong
654− > word.</p
655− ><p
656− >This is code: <code
657− >></code
658− >, <code
659− >$</code
660− >, <code
661− >\</code
662− >, <code
663− >\$</code
664− >, <code
665− ><html></code
666− >.</p
667− ><p
668− ><span style="text-decoration: line-through;"
650+ /></div
651+ ><div id="inline-markup"
652+ ><h1
653+ >Inline Markup</h1
654+ ><p
669655 >This is <em
670− >strikeout</em
671− >.</span
672− ></p
673− ><p
674− >Superscripts: a<sup
675− >bc</sup
676− >d a<sup
677− ><em
678− >hello</em
679− ></sup
680− > a<sup
681− >hello there</sup
682− >.</p
683− ><p
684− >Subscripts: H<sub
685− >2</sub
686− >O, H<sub
687− >23</sub
688− >O, H<sub
689− >many of them</sub
690− >O.</p
691− ><p
692− >These should not be superscripts or subscripts, because of the unescaped spaces: a^b c^d, a~b c~d.</p
693− ><hr
694− /><h1 id="smart-quotes-ellipses-dashes"
695− >Smart quotes, ellipses, dashes</h1
696− ><p
697− >“Hello,” said the spider. “‘Shelob’ is my name.”</p
698− ><p
699− >‘A’, ‘B’, and ‘C’ are letters.</p
700− ><p
701− >‘Oak,’ ‘elm,’ and ‘beech’ are names of trees. So is ‘pine.’</p
702− ><p
703− >‘He said, “I want to go.”’ Were you alive in the 70’s?</p
704− ><p
705− >Here is some quoted ‘<code
706− >code</code
707− >’ and a “<a href="http://example.com/?foo=1&bar=2"
708− >quoted link</a
709− >”.</p
710− ><p
711− >Some dashes: one—two — three—four — five.</p
712− ><p
713− >Dashes between numbers: 5–7, 255–66, 1987–1999.</p
714− ><p
715− >Ellipses…and…and….</p
716− ><hr
717− /><h1 id="latex"
718− >LaTeX</h1
719− ><ul
720− ><li
721− ></li
722− ><li
723− ><span class="math"
724− >2+2=4</span
725− ></li
726− ><li
727− ><span class="math"
656+ >emphasized</em
657+ >, and so <em
658+ >is this</em
659+ >.</p
660+ ><p
661+ >This is <strong
662+ >strong</strong
663+ >, and so <strong
664+ >is this</strong
665+ >.</p
666+ ><p
667+ >An <em
668+ ><a href="/url"
669+ >emphasized link</a
670+ ></em
671+ >.</p
672+ ><p
673+ ><strong
728674 ><em
729− >x</em
730− > ∈ <em
731− >y</em
732− ></span
733− ></li
734− ><li
735− ><span class="math"
736− >α ∧ ω</span
737− ></li
738− ><li
739− ><span class="math"
740− >223</span
741− ></li
742− ><li
743− ><span class="math"
675+ >This is strong and em.</em
676+ ></strong
677+ ></p
678+ ><p
679+ >So is <strong
680+ ><em
681+ >this</em
682+ ></strong
683+ > word.</p
684+ ><p
685+ ><strong
686+ ><em
687+ >This is strong and em.</em
688+ ></strong
689+ ></p
690+ ><p
691+ >So is <strong
692+ ><em
693+ >this</em
694+ ></strong
695+ > word.</p
696+ ><p
697+ >This is code: <code
698+ >></code
699+ >, <code
700+ >$</code
701+ >, <code
702+ >\</code
703+ >, <code
704+ >\$</code
705+ >, <code
706+ ><html></code
707+ >.</p
708+ ><p
709+ ><span style="text-decoration: line-through;"
710+ >This is <em
711+ >strikeout</em
712+ >.</span
713+ ></p
714+ ><p
715+ >Superscripts: a<sup
716+ >bc</sup
717+ >d a<sup
744718 ><em
745− >p</em
746− ></span
747− >-Tree</li
719+ >hello</em
720+ ></sup
721+ > a<sup
722+ >hello there</sup
723+ >.</p
724+ ><p
725+ >Subscripts: H<sub
726+ >2</sub
727+ >O, H<sub
728+ >23</sub
729+ >O, H<sub
730+ >many of them</sub
731+ >O.</p
732+ ><p
733+ >These should not be superscripts or subscripts, because of the unescaped spaces: a^b c^d, a~b c~d.</p
734+ ><hr
735+ /></div
736+ ><div id="smart-quotes-ellipses-dashes"
737+ ><h1
738+ >Smart quotes, ellipses, dashes</h1
739+ ><p
740+ >“Hello,” said the spider. “‘Shelob’ is my name.”</p
741+ ><p
742+ >‘A’, ‘B’, and ‘C’ are letters.</p
743+ ><p
744+ >‘Oak,’ ‘elm,’ and ‘beech’ are names of trees. So is ‘pine.’</p
745+ ><p
746+ >‘He said, “I want to go.”’ Were you alive in the 70’s?</p
747+ ><p
748+ >Here is some quoted ‘<code
749+ >code</code
750+ >’ and a “<a href="http://example.com/?foo=1&bar=2"
751+ >quoted link</a
752+ >”.</p
753+ ><p
754+ >Some dashes: one—two — three—four — five.</p
755+ ><p
756+ >Dashes between numbers: 5–7, 255–66, 1987–1999.</p
757+ ><p
758+ >Ellipses…and…and….</p
759+ ><hr
760+ /></div
761+ ><div id="latex"
762+ ><h1
763+ >LaTeX</h1
764+ ><ul
748765 ><li
749− >Here’s some display math: <span class="math"
750− >\frac{<em
751− >d</em
752− >}{<em
753− >dx</em
754− >}<em
755− >f</em
756− >(<em
757− >x</em
758− >)=\lim<sub
766+ ></li
767+ ><li
768+ ><span class="math"
769+ >2+2=4</span
770+ ></li
771+ ><li
772+ ><span class="math"
759773 ><em
760− >h</em
761− > → 0</sub
774+ >x</em
775+ > ∈ <em
776+ >y</em
777+ ></span
778+ ></li
779+ ><li
780+ ><span class="math"
781+ >α ∧ ω</span
782+ ></li
783+ ><li
784+ ><span class="math"
785+ >223</span
786+ ></li
787+ ><li
788+ ><span class="math"
789+ ><em
790+ >p</em
791+ ></span
792+ >-Tree</li
793+ ><li
794+ >Here’s some display math: <span class="math"
762795 >\frac{<em
763− >f</em
764− >(<em
765− >x</em
766− >+<em
767− >h</em
768− >)-<em
769− >f</em
770− >(<em
771− >x</em
772− >)}{<em
773− >h</em
774− >}</span
775− ></li
776− ><li
777− >Here’s one that has a line break in it: <span class="math"
778− >α+ω × <em
779− >x</em
780− ><sup
781− >2</sup
782− ></span
783− >.</li
784− ></ul
785− ><p
786− >These shouldn’t be math:</p
787− ><ul
788− ><li
789− >To get the famous equation, write <code
790− >$e = mc^2$</code
791− >.</li
792− ><li
793− >$22,000 is a <em
794− >lot</em
795− > of money. So is $34,000. (It worked if “lot” is emphasized.)</li
796− ><li
797− >Shoes ($20) and socks ($5).</li
798− ><li
799− >Escaped <code
800− >$</code
801− >: $73 <em
802− >this should be emphasized</em
803− > 23$.</li
804− ></ul
805− ><p
806− >Here’s a LaTeX table:</p
807− ><p
808− ></p
809− ><hr
810− /><h1 id="special-characters"
811− >Special Characters</h1
812− ><p
813− >Here is some unicode:</p
814− ><ul
815− ><li
816− >I hat: Î</li
817− ><li
818− >o umlaut: ö</li
819− ><li
820− >section: §</li
821− ><li
822− >set membership: ∈</li
796+ >d</em
797+ >}{<em
798+ >dx</em
799+ >}<em
800+ >f</em
801+ >(<em
802+ >x</em
803+ >)=\lim<sub
804+ ><em
805+ >h</em
806+ > → 0</sub
807+ >\frac{<em
808+ >f</em
809+ >(<em
810+ >x</em
811+ >+<em
812+ >h</em
813+ >)-<em
814+ >f</em
815+ >(<em
816+ >x</em
817+ >)}{<em
818+ >h</em
819+ >}</span
820+ ></li
821+ ><li
822+ >Here’s one that has a line break in it: <span class="math"
823+ >α+ω × <em
824+ >x</em
825+ ><sup
826+ >2</sup
827+ ></span
828+ >.</li
829+ ></ul
830+ ><p
831+ >These shouldn’t be math:</p
832+ ><ul
823833 ><li
824− >copyright: ©</li
825− ></ul
826− ><p
827− >AT&T has an ampersand in their name.</p
828− ><p
829− >AT&T is another way to write it.</p
830− ><p
831− >This & that.</p
832− ><p
833− >4 < 5.</p
834− ><p
835− >6 > 5.</p
836− ><p
837− >Backslash: \</p
838− ><p
839− >Backtick: `</p
840− ><p
841− >Asterisk: *</p
842− ><p
843− >Underscore: _</p
844− ><p
845− >Left brace: {</p
846− ><p
847− >Right brace: }</p
848− ><p
849− >Left bracket: [</p
850− ><p
851− >Right bracket: ]</p
852− ><p
853− >Left paren: (</p
854− ><p
855− >Right paren: )</p
856− ><p
857− >Greater-than: ></p
858− ><p
859− >Hash: #</p
860− ><p
861− >Period: .</p
862− ><p
863− >Bang: !</p
864− ><p
865− >Plus: +</p
866− ><p
867− >Minus: -</p
868− ><hr
869− /><h1 id="links"
870− >Links</h1
871− ><h2 id="explicit"
872− >Explicit</h2
873− ><p
874− >Just a <a href="/url/"
875− >URL</a
876− >.</p
877− ><p
878− ><a href="/url/" title="title"
879− >URL and title</a
880− >.</p
881− ><p
882− ><a href="/url/" title="title preceded by two spaces"
883− >URL and title</a
884− >.</p
885− ><p
886− ><a href="/url/" title="title preceded by a tab"
887− >URL and title</a
888− >.</p
889− ><p
890− ><a href="/url/" title="title with "quotes" in it"
891− >URL and title</a
892− ></p
893− ><p
894− ><a href="/url/" title="title with single quotes"
895− >URL and title</a
896− ></p
897− ><p
898− ><a href="/url/with_underscore"
899− >with_underscore</a
834+ >To get the famous equation, write <code
835+ >$e = mc^2$</code
836+ >.</li
837+ ><li
838+ >$22,000 is a <em
839+ >lot</em
840+ > of money. So is $34,000. (It worked if “lot” is emphasized.)</li
841+ ><li
842+ >Shoes ($20) and socks ($5).</li
843+ ><li
844+ >Escaped <code
845+ >$</code
846+ >: $73 <em
847+ >this should be emphasized</em
848+ > 23$.</li
849+ ></ul
850+ ><p
851+ >Here’s a LaTeX table:</p
852+ ><p
900853 ></p
901− ><p
902− ><script type="text/javascript"
903− >
854+ ><hr
855+ /></div
856+ ><div id="special-characters"
857+ ><h1
858+ >Special Characters</h1
859+ ><p
860+ >Here is some unicode:</p
861+ ><ul
862+ ><li
863+ >I hat: Î</li
864+ ><li
865+ >o umlaut: ö</li
866+ ><li
867+ >section: §</li
868+ ><li
869+ >set membership: ∈</li
870+ ><li
871+ >copyright: ©</li
872+ ></ul
873+ ><p
874+ >AT&T has an ampersand in their name.</p
875+ ><p
876+ >AT&T is another way to write it.</p
877+ ><p
878+ >This & that.</p
879+ ><p
880+ >4 < 5.</p
881+ ><p
882+ >6 > 5.</p
883+ ><p
884+ >Backslash: \</p
885+ ><p
886+ >Backtick: `</p
887+ ><p
888+ >Asterisk: *</p
889+ ><p
890+ >Underscore: _</p
891+ ><p
892+ >Left brace: {</p
893+ ><p
894+ >Right brace: }</p
895+ ><p
896+ >Left bracket: [</p
897+ ><p
898+ >Right bracket: ]</p
899+ ><p
900+ >Left paren: (</p
901+ ><p
902+ >Right paren: )</p
903+ ><p
904+ >Greater-than: ></p
905+ ><p
906+ >Hash: #</p
907+ ><p
908+ >Period: .</p
909+ ><p
910+ >Bang: !</p
911+ ><p
912+ >Plus: +</p
913+ ><p
914+ >Minus: -</p
915+ ><hr
916+ /></div
917+ ><div id="links"
918+ ><h1
919+ >Links</h1
920+ ><div id="explicit"
921+ ><h2
922+ >Explicit</h2
923+ ><p
924+ >Just a <a href="/url/"
925+ >URL</a
926+ >.</p
927+ ><p
928+ ><a href="/url/" title="title"
929+ >URL and title</a
930+ >.</p
931+ ><p
932+ ><a href="/url/" title="title preceded by two spaces"
933+ >URL and title</a
934+ >.</p
935+ ><p
936+ ><a href="/url/" title="title preceded by a tab"
937+ >URL and title</a
938+ >.</p
939+ ><p
940+ ><a href="/url/" title="title with "quotes" in it"
941+ >URL and title</a
942+ ></p
943+ ><p
944+ ><a href="/url/" title="title with single quotes"
945+ >URL and title</a
946+ ></p
947+ ><p
948+ ><a href="/url/with_underscore"
949+ >with_underscore</a
950+ ></p
951+ ><p
952+ ><script type="text/javascript"
953+ >
904954<!--
905955h='nowhere.net';a='@';n='nobody';e=n+a+h;
906956document.write('<a h'+'ref'+'="ma'+'ilto'+':'+e+'">'+'Email link'+'<\/'+'a'+'>');
907957// -->
908958</script
909− ><noscript
910− >Email link (nobody at nowhere dot net)</noscript
911− ></p
912− ><p
913− ><a href=""
914− >Empty</a
915− >.</p
916− ><h2 id="reference"
917− >Reference</h2
918− ><p
919− >Foo <a href="/url/"
920− >bar</a
921− >.</p
922− ><p
923− >Foo <a href="/url/"
924− >bar</a
925− >.</p
926− ><p
927− >Foo <a href="/url/"
928− >bar</a
929− >.</p
930− ><p
931− >With <a href="/url/"
932− >embedded [brackets]</a
933− >.</p
934− ><p
935− ><a href="/url/"
936− >b</a
937− > by itself should be a link.</p
938− ><p
939− >Indented <a href="/url"
940− >once</a
941− >.</p
942− ><p
943− >Indented <a href="/url"
944− >twice</a
945− >.</p
946− ><p
947− >Indented <a href="/url"
948− >thrice</a
949− >.</p
950− ><p
951− >This should [not][] be a link.</p
952− ><pre
953− ><code
954− >[not]: /url
955−</code
956− ></pre
957− ><p
958− >Foo <a href="/url/" title="Title with "quotes" inside"
959− >bar</a
960− >.</p
961− ><p
962− >Foo <a href="/url/" title="Title with "quote" inside"
963− >biz</a
964− >.</p
965− ><h2 id="with-ampersands"
966− >With ampersands</h2
967− ><p
968− >Here’s a <a href="http://example.com/?foo=1&bar=2"
969− >link with an ampersand in the URL</a
970− >.</p
971− ><p
972− >Here’s a link with an amersand in the link text: <a href="http://att.com/" title="AT&T"
973− >AT&T</a
974− >.</p
975− ><p
976− >Here’s an <a href="/script?foo=1&bar=2"
977− >inline link</a
978− >.</p
979− ><p
980− >Here’s an <a href="/script?foo=1&bar=2"
981− >inline link in pointy braces</a
982− >.</p
983− ><h2 id="autolinks"
984− >Autolinks</h2
985− ><p
986− >With an ampersand: <a href="http://example.com/?foo=1&bar=2"
987− ><code
988− >http://example.com/?foo=1&bar=2</code
989− ></a
990− ></p
991− ><ul
992− ><li
993− >In a list?</li
994− ><li
995− ><a href="http://example.com/"
959+ ><noscript
960+ >Email link (nobody at nowhere dot net)</noscript
961+ ></p
962+ ><p
963+ ><a href=""
964+ >Empty</a
965+ >.</p
966+ ></div
967+ ><div id="reference"
968+ ><h2
969+ >Reference</h2
970+ ><p
971+ >Foo <a href="/url/"
972+ >bar</a
973+ >.</p
974+ ><p
975+ >Foo <a href="/url/"
976+ >bar</a
977+ >.</p
978+ ><p
979+ >Foo <a href="/url/"
980+ >bar</a
981+ >.</p
982+ ><p
983+ >With <a href="/url/"
984+ >embedded [brackets]</a
985+ >.</p
986+ ><p
987+ ><a href="/url/"
988+ >b</a
989+ > by itself should be a link.</p
990+ ><p
991+ >Indented <a href="/url"
992+ >once</a
993+ >.</p
994+ ><p
995+ >Indented <a href="/url"
996+ >twice</a
997+ >.</p
998+ ><p
999+ >Indented <a href="/url"
1000+ >thrice</a
1001+ >.</p
1002+ ><p
1003+ >This should [not][] be a link.</p
1004+ ><pre
9961005 ><code
997− >http://example.com/</code
998− ></a
999− ></li
1000− ><li
1001− >It should.</li
1002− ></ul
1003− ><p
1004− >An e-mail address: <script type="text/javascript"
1005− >
1006+ >[not]: /url
1007+</code
1008+ ></pre
1009+ ><p
1010+ >Foo <a href="/url/" title="Title with "quotes" inside"
1011+ >bar</a
1012+ >.</p
1013+ ><p
1014+ >Foo <a href="/url/" title="Title with "quote" inside"
1015+ >biz</a
1016+ >.</p
1017+ ></div
1018+ ><div id="with-ampersands"
1019+ ><h2
1020+ >With ampersands</h2
1021+ ><p
1022+ >Here’s a <a href="http://example.com/?foo=1&bar=2"
1023+ >link with an ampersand in the URL</a
1024+ >.</p
1025+ ><p
1026+ >Here’s a link with an amersand in the link text: <a href="http://att.com/" title="AT&T"
1027+ >AT&T</a
1028+ >.</p
1029+ ><p
1030+ >Here’s an <a href="/script?foo=1&bar=2"
1031+ >inline link</a
1032+ >.</p
1033+ ><p
1034+ >Here’s an <a href="/script?foo=1&bar=2"
1035+ >inline link in pointy braces</a
1036+ >.</p
1037+ ></div
1038+ ><div id="autolinks"
1039+ ><h2
1040+ >Autolinks</h2
1041+ ><p
1042+ >With an ampersand: <a href="http://example.com/?foo=1&bar=2"
1043+ ><code
1044+ >http://example.com/?foo=1&bar=2</code
1045+ ></a
1046+ ></p
1047+ ><ul
1048+ ><li
1049+ >In a list?</li
1050+ ><li
1051+ ><a href="http://example.com/"
1052+ ><code
1053+ >http://example.com/</code
1054+ ></a
1055+ ></li
1056+ ><li
1057+ >It should.</li
1058+ ></ul
1059+ ><p
1060+ >An e-mail address: <script type="text/javascript"
1061+ >
10061062<!--
10071063h='nowhere.net';a='@';n='nobody';e=n+a+h;
10081064document.write('<a h'+'ref'+'="ma'+'ilto'+':'+e+'">'+'<code>'+e+'</code>'+'<\/'+'a'+'>');
10091065// -->
10101066</script
1011− ><noscript
1012− >nobody at nowhere dot net</noscript
1013− ></p
1014− ><blockquote
1015− ><p
1016− >Blockquoted: <a href="http://example.com/"
1067+ ><noscript
1068+ >nobody at nowhere dot net</noscript
1069+ ></p
1070+ ><blockquote
1071+ ><p
1072+ >Blockquoted: <a href="http://example.com/"
1073+ ><code
1074+ >http://example.com/</code
1075+ ></a
1076+ ></p
1077+ ></blockquote
1078+ ><p
1079+ >Auto-links should not occur here: <code
1080+ ><http://example.com/></code
1081+ ></p
1082+ ><pre
10171083 ><code
1018− >http://example.com/</code
1019− ></a
1020− ></p
1021− ></blockquote
1022− ><p
1023− >Auto-links should not occur here: <code
1024− ><http://example.com/></code
1025− ></p
1026− ><pre
1027− ><code
1028− >or here: <http://example.com/>
1084+ >or here: <http://example.com/>
10291085</code
1030− ></pre
1031− ><hr
1032− /><h1 id="images"
1033− >Images</h1
1034− ><p
1035− >From “Voyage dans la Lune” by Georges Melies (1902):</p
1036− ><p
1037− ><img src="lalune.jpg" title="Voyage dans la Lune" alt="lalune"
1038− /></p
1039− ><p
1040− >Here is a movie <img src="movie.jpg" alt="movie"
1041− /> icon.</p
1042− ><hr
1043− /><h1 id="footnotes"
1044− >Footnotes</h1
1045− ><p
1046− >Here is a footnote reference,<a href="#fn1" class="footnoteRef" id="fnref1"
1047− ><sup
1048− >1</sup
1049− ></a
1050− > and another.<a href="#fn2" class="footnoteRef" id="fnref2"
1051− ><sup
1052− >2</sup
1053− ></a
1054− > This should <em
1055− >not</em
1056− > be a footnote reference, because it contains a space.[^my note] Here is an inline note.<a href="#fn3" class="footnoteRef" id="fnref3"
1057− ><sup
1058− >3</sup
1059− ></a
1060− ></p
1061− ><blockquote
1062− ><p
1063− >Notes can go in quotes.<a href="#fn4" class="footnoteRef" id="fnref4"
1086+ ></pre
1087+ ><hr
1088+ /></div
1089+ ></div
1090+ ><div id="images"
1091+ ><h1
1092+ >Images</h1
1093+ ><p
1094+ >From “Voyage dans la Lune” by Georges Melies (1902):</p
1095+ ><p
1096+ ><img src="lalune.jpg" title="Voyage dans la Lune" alt="lalune"
1097+ /></p
1098+ ><p
1099+ >Here is a movie <img src="movie.jpg" alt="movie"
1100+ /> icon.</p
1101+ ><hr
1102+ /></div
1103+ ><div id="footnotes"
1104+ ><h1
1105+ >Footnotes</h1
1106+ ><p
1107+ >Here is a footnote reference,<a href="#fn1" class="footnoteRef" id="fnref1"
10641108 ><sup
1065− >4</sup
1109+ >1</sup
10661110 ></a
1067− ></p
1068− ></blockquote
1069− ><ol style="list-style-type: decimal;"
1070− ><li
1071− >And in list items.<a href="#fn5" class="footnoteRef" id="fnref5"
1111+ > and another.<a href="#fn2" class="footnoteRef" id="fnref2"
10721112 ><sup
1073− >5</sup
1113+ >2</sup
10741114 ></a
1075− ></li
1076− ></ol
1077− ><p
1078− >This paragraph should not be part of the note, as it is not indented.</p
1115+ > This should <em
1116+ >not</em
1117+ > be a footnote reference, because it contains a space.[^my note] Here is an inline note.<a href="#fn3" class="footnoteRef" id="fnref3"
1118+ ><sup
1119+ >3</sup
1120+ ></a
1121+ ></p
1122+ ><blockquote
1123+ ><p
1124+ >Notes can go in quotes.<a href="#fn4" class="footnoteRef" id="fnref4"
1125+ ><sup
1126+ >4</sup
1127+ ></a
1128+ ></p
1129+ ></blockquote
1130+ ><ol style="list-style-type: decimal;"
1131+ ><li
1132+ >And in list items.<a href="#fn5" class="footnoteRef" id="fnref5"
1133+ ><sup
1134+ >5</sup
1135+ ></a
1136+ ></li
1137+ ></ol
1138+ ><p
1139+ >This paragraph should not be part of the note, as it is not indented.</p
1140+ ></div
10791141 ><div class="footnotes"
10801142 ><hr
10811143 /><ol