From a579e2c89289b97fa4083c2c0e2299da9d44e9e0 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 27 Dec 2011 15:45:34 -0800 Subject: Replaced Apostrophe, Ellipses, EmDash, EnDash w/ unicode strings. --- tests/writer.opendocument | 74 ++++++++++++++++++++++------------------------- 1 file changed, 35 insertions(+), 39 deletions(-) (limited to 'tests/writer.opendocument') diff --git a/tests/writer.opendocument b/tests/writer.opendocument index 4e02db650..587c16502 100644 --- a/tests/writer.opendocument +++ b/tests/writer.opendocument @@ -864,7 +864,7 @@ Anonymous July 17, 2006 This is a set of tests for pandoc. Most -of them are adapted from John Gruber’s markdown test suite. +of them are adapted from John Gruber’s markdown test suite. Headers Level 2 with an @@ -883,12 +883,12 @@ link with no blank line Paragraphs -Here’s a regular +Here’s a regular paragraph. 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. -Here’s one with a bullet. * +Here’s one with a bullet. * criminey. There should be a hard line breakhere. @@ -1061,7 +1061,7 @@ Blocks Item 1, graf one. Item 1. graf two. The quick brown fox jumped - over the lazy dog’s back. + over the lazy dog’s back. Item 2. @@ -1084,7 +1084,7 @@ Blocks -Here’s another: +Here’s another: First @@ -1303,7 +1303,7 @@ table: emphasized And this is strong -Here’s a simple block: +Here’s a simple block: foo This should be a code block, though: @@ -1323,7 +1323,7 @@ comment: spaces on the line: Code: <hr /> -Hr’s: +Hr’s: Inline Markup @@ -1374,23 +1374,22 @@ subscripts, because of the unescaped spaces: a^b c^d, a~b c~d. Smart quotes, ellipses, dashes -“Hello,” said the -spider. “‘Shelob’ is my name.” -‘A’, ‘B’, and -‘C’ are letters. -‘Oak,’ ‘elm,’ -and ‘beech’ are names of trees. So is ‘pine.’ -‘He said, “I want to -go.”’ Were you alive in the 70’s? +“Hello,” said the spider. +“‘Shelob’ is my name.” +‘A’, ‘B’, and ‘C’ are letters. +‘Oak,’ ‘elm,’ and ‘beech’ are names of +trees. So is ‘pine.’ +‘He said, “I want to go.”’ Were you +alive in the 70’s? Here is some quoted -‘code’ and a -“quoted -link”. -Some dashes: one—two — -three—four — five. -Dashes between numbers: 5–7, -255–66, 1987–1999. -Ellipses…and…and…. +‘code’ and a +“quoted +link”. +Some dashes: one—two — three—four — +five. +Dashes between numbers: 5–7, 255–66, +1987–1999. +Ellipses…and…and…. LaTeX @@ -1413,17 +1412,15 @@ three—four — five. p-Tree - Here’s some display math: + Here’s some display math: $\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}$ - Here’s one that has a line break in - it: + Here’s one that has a line break in it: α + ω × x2. -These shouldn’t be -math: +These shouldn’t be math: To get the famous equation, write @@ -1432,7 +1429,7 @@ math: $22,000 is a lot of money. So is $34,000. - (It worked if “lot” is emphasized.) + (It worked if “lot” is emphasized.) Shoes ($20) and socks ($5). @@ -1447,8 +1444,7 @@ math: 23$. -Here’s a LaTeX -table: +Here’s a LaTeX table: Special Characters @@ -1538,16 +1534,16 @@ by itself should be a link. biz. With ampersands -Here’s a +Here’s a link with an ampersand in the URL. -Here’s a link with an amersand in -the link text: +Here’s a link with an amersand in the +link text: AT&T. -Here’s an +Here’s an inline link. -Here’s an +Here’s an inline link in pointy braces. Autolinks @@ -1573,8 +1569,8 @@ link in pointy braces. or here: <http://example.com/> Images -From “Voyage dans la -Lune” by Georges Melies (1902): +From “Voyage dans la Lune” by +Georges Melies (1902): Here is a movie @@ -1586,7 +1582,7 @@ reference, and -another.2Here’s +another.2Here’s the long note. This one contains multiple blocks.Subsequent blocks are indented to show that they belong to the footnote (as with list -- cgit v1.2.3