@@ -2,7 +2,7 @@
22.hy
33.PP
44This is a set of tests for pandoc.
5−Most of them are adapted from John Gruber's markdown test suite.
5+Most of them are adapted from John Gruber\[cq]s markdown test suite.
66.PP
77 * * * * *
88.SH Headers
@@ -22,15 +22,15 @@ with no blank line
2222 * * * * *
2323.SH Paragraphs
2424.PP
25−Here's a regular paragraph.
25+Here\[cq]s a regular paragraph.
2626.PP
2727In Markdown 1.0.0 and earlier.
2828Version 8.
2929This line turns into a list item.
30−Because a hard\-wrapped line in the middle of a paragraph looked like a list
30+Because a hard-wrapped line in the middle of a paragraph looked like a list
3131item.
3232.PP
33−Here's one with a bullet.
33+Here\[cq]s one with a bullet.
3434* criminey.
3535.PP
3636There should be a hard line break
@@ -42,7 +42,7 @@ here.
4242 * * * * *
4343.SH Block Quotes
4444.PP
45−E\-mail style:
45+E-mail style:
4646.RS
4747.PP
4848This is a block quote.
@@ -55,7 +55,7 @@ Code in a block quote:
5555.nf
5656\f[C]
5757sub\ status\ {
58−\ \ \ \ print\ "working";
58+\ \ \ \ print\ \[dq]working\[dq];
5959}
6060\f[R]
6161.fi
@@ -88,10 +88,10 @@ Code:
8888.IP
8989.nf
9090\f[C]
91−\-\-\-\-\ (should\ be\ four\ hyphens)
91+----\ (should\ be\ four\ hyphens)
9292
9393sub\ status\ {
94−\ \ \ \ print\ "working";
94+\ \ \ \ print\ \[dq]working\[dq];
9595}
9696
9797this\ code\ block\ is\ indented\ by\ one\ tab
@@ -200,7 +200,7 @@ Item 1, graf one.
200200.PP
201201Item 1.
202202graf two.
203−The quick brown fox jumped over the lazy dog's back.
203+The quick brown fox jumped over the lazy dog\[cq]s back.
204204.RE
205205.IP "2." 3
206206Item 2.
@@ -218,7 +218,7 @@ Tab
218218.RE
219219.RE
220220.PP
221−Here's another:
221+Here\[cq]s another:
222222.IP "1." 3
223223First
224224.IP "2." 3
@@ -308,7 +308,7 @@ Nested.
308308.PP
309309Should not be a list item:
310310.PP
311−M.A.\ 2007
311+M.A.\~2007
312312.PP
313313B.
314314Williams
@@ -459,7 +459,7 @@ Interpreted markdown in a table:
459459This is \f[I]emphasized\f[R]
460460And this is \f[B]strong\f[R]
461461.PP
462−Here's a simple block:
462+Here\[cq]s a simple block:
463463.PP
464464foo
465465.PP
@@ -492,7 +492,7 @@ Code block:
492492.IP
493493.nf
494494\f[C]
495−<!\-\-\ Comment\ \-\->
495+<!--\ Comment\ -->
496496\f[R]
497497.fi
498498.PP
@@ -506,7 +506,7 @@ Code:
506506\f[R]
507507.fi
508508.PP
509−Hr's:
509+Hr\[cq]s:
510510.PP
511511 * * * * *
512512.SH Inline Markup
@@ -530,12 +530,12 @@ This is code: \f[C]>\f[R], \f[C]$\f[R], \f[C]\\\f[R], \f[C]\\$\f[R],
530530.PP
531531[STRIKEOUT:This is \f[I]strikeout\f[R].]
532532.PP
533−Superscripts: a^bc^d a^\f[I]hello\f[R]^ a^hello\ there^.
533+Superscripts: a^bc^d a^\f[I]hello\f[R]^ a^hello\~there^.
534534.PP
535−Subscripts: H~2~O, H~23~O, H~many\ of\ them~O.
535+Subscripts: H~2~O, H~23~O, H~many\~of\~them~O.
536536.PP
537537These should not be superscripts or subscripts, because of the unescaped
538−spaces: a^b c^d, a~b c~d.
538+spaces: a\[ha]b c\[ha]d, a\[ti]b c\[ti]d.
539539.PP
540540 * * * * *
541541.SH Smart quotes, ellipses, dashes
@@ -548,7 +548,7 @@ spaces: a^b c^d, a~b c~d.
548548`Oak,' `elm,' and `beech' are names of trees.
549549So is `pine.'
550550.PP
551−`He said, \[lq]I want to go.\[rq]' Were you alive in the 70's?
551+`He said, \[lq]I want to go.\[rq]' Were you alive in the 70\[cq]s?
552552.PP
553553Here is some quoted `\f[C]code\f[R]' and a \[lq]quoted
554554link (http://example.com/?foo=1&bar=2)\[rq].
@@ -571,19 +571,19 @@ Ellipses\&...and\&...and\&....
571571.IP \[bu] 2
572572223
573573.IP \[bu] 2
574−\f[I]p\f[R]\-Tree
574+\f[I]p\f[R]-Tree
575575.IP \[bu] 2
576−Here's some display math:
576+Here\[cq]s some display math:
577577.RS
578−$$\\frac{d}{dx}f(x)=\\lim_{h\\to 0}\\frac{f(x+h)\-f(x)}{h}$$
578+$$\\frac{d}{dx}f(x)=\\lim_{h\\to 0}\\frac{f(x+h)-f(x)}{h}$$
579579.RE
580580.IP \[bu] 2
581−Here's one that has a line break in it:
581+Here\[cq]s one that has a line break in it:
582582\f[I]α\f[R] + \f[I]ω\f[R] × \f[I]x\f[R]^2^.
583583.PP
584−These shouldn't be math:
584+These shouldn\[cq]t be math:
585585.IP \[bu] 2
586−To get the famous equation, write \f[C]$e\ =\ mc^2$\f[R].
586+To get the famous equation, write \f[C]$e\ =\ mc\[ha]2$\f[R].
587587.IP \[bu] 2
588588$22,000 is a \f[I]lot\f[R] of money.
589589So is $34,000.
@@ -593,7 +593,7 @@ Shoes ($20) and socks ($5).
593593.IP \[bu] 2
594594Escaped \f[C]$\f[R]: $73 \f[I]this should be emphasized\f[R] 23$.
595595.PP
596−Here's a LaTeX table:
596+Here\[cq]s a LaTeX table:
597597.PP
598598 * * * * *
599599.SH Special Characters
@@ -622,7 +622,7 @@ This & that.
622622.PP
623623Backslash: \\
624624.PP
625−Backtick: `
625+Backtick: \`
626626.PP
627627Asterisk: *
628628.PP
@@ -640,7 +640,7 @@ Left paren: (
640640.PP
641641Right paren: )
642642.PP
643−Greater\-than: >
643+Greater-than: >
644644.PP
645645Hash: #
646646.PP
@@ -650,7 +650,7 @@ Bang: !
650650.PP
651651Plus: +
652652.PP
653−Minus: \-
653+Minus: -
654654.PP
655655 * * * * *
656656.SH Links
@@ -700,13 +700,14 @@ Foo bar (/url/).
700700Foo biz (/url/).
701701.SS With ampersands
702702.PP
703−Here's a link with an ampersand in the URL (http://example.com/?foo=1&bar=2).
703+Here\[cq]s a link with an ampersand in the
704+URL (http://example.com/?foo=1&bar=2).
704705.PP
705−Here's a link with an amersand in the link text: AT&T (http://att.com/).
706+Here\[cq]s a link with an amersand in the link text: AT&T (http://att.com/).
706707.PP
707−Here's an inline link (/script?foo=1&bar=2).
708+Here\[cq]s an inline link (/script?foo=1&bar=2).
708709.PP
709−Here's an inline link in pointy braces (/script?foo=1&bar=2).
710+Here\[cq]s an inline link in pointy braces (/script?foo=1&bar=2).
710711.SS Autolinks
711712.PP
712713With an ampersand: <http://example.com/?foo=1&bar=2>
@@ -717,13 +718,13 @@ In a list?
717718.IP \[bu] 2
718719It should.
719720.PP
720−An e\-mail address: <nobody@nowhere.net>
721+An e-mail address: <nobody@nowhere.net>
721722.RS
722723.PP
723724Blockquoted: <http://example.com/>
724725.RE
725726.PP
726−Auto\-links should not occur here: \f[C]<http://example.com/>\f[R]
727+Auto-links should not occur here: \f[C]<http://example.com/>\f[R]
727728.IP
728729.nf
729730\f[C]
@@ -744,8 +745,8 @@ Here is a movie [IMAGE: movie (movie.jpg)] icon.
744745.SH Footnotes
745746.PP
746747Here is a footnote reference,[1] and another.[2] This should \f[I]not\f[R] be
747−a footnote reference, because it contains a space.[^my note] Here is an inline
748−note.[3]
748+a footnote reference, because it contains a space.[\[ha]my note] Here is an
749+inline note.[3]
749750.RS
750751.PP
751752Notes can go in quotes.[4]
@@ -762,7 +763,7 @@ It can go anywhere after the footnote reference.
762763It need not be placed at the end of the document.
763764.SS [2]
764765.PP
765−Here's the long note.
766+Here\[cq]s the long note.
766767This one contains multiple blocks.
767768.PP
768769Subsequent blocks are indented to show that they belong to the footnote (as