From 6033ea729c3f27265f7d28dc2aaa2073e6b99827 Mon Sep 17 00:00:00 2001 From: fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> Date: Sat, 14 Feb 2009 04:08:18 +0000 Subject: [PATCH] Updated test suites: regular paragraph before block quote. Note: rst writer doesn't handle block quote after code block properly. Ideally it would insert an empty comment to reset indentation. But this is not desirable in general before code blocks. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1540 788f1e2b-df1e-0410-8736-df70ead52e1b --- tests/lhs-test.fragment.html+lhs | 4 +++- tests/lhs-test.html | 4 +++- tests/lhs-test.html+lhs | 4 +++- tests/lhs-test.latex | 4 +++- tests/lhs-test.latex+lhs | 4 +++- tests/lhs-test.markdown | 4 +++- tests/lhs-test.markdown+lhs | 4 +++- tests/lhs-test.native | 3 ++- tests/lhs-test.rst | 4 +++- tests/lhs-test.rst+lhs | 4 +++- 10 files changed, 29 insertions(+), 10 deletions(-) diff --git a/tests/lhs-test.fragment.html+lhs b/tests/lhs-test.fragment.html+lhs index 2a0683850..27f25eb8c 100644 --- a/tests/lhs-test.fragment.html+lhs +++ b/tests/lhs-test.fragment.html+lhs @@ -40,8 +40,10 @@ >f *** g = first f >>> second g </code ></pre +><p +>Block quote:</p ><blockquote ><p - >Here is a block quote section.</p + >foo bar</p ></blockquote > diff --git a/tests/lhs-test.html b/tests/lhs-test.html index 695165fd6..2aa29edb2 100644 --- a/tests/lhs-test.html +++ b/tests/lhs-test.html @@ -65,9 +65,11 @@ pre.sourceCode span.Error { color: red; font-weight: bold; } >f *** g = first f >>> second g </code ></pre + ><p + >Block quote:</p ><blockquote ><p - >Here is a block quote section.</p + >foo bar</p ></blockquote ></body ></html diff --git a/tests/lhs-test.html+lhs b/tests/lhs-test.html+lhs index 1cda84cdb..8b171bd0f 100644 --- a/tests/lhs-test.html+lhs +++ b/tests/lhs-test.html+lhs @@ -71,9 +71,11 @@ pre.sourceCode span.Error { color: red; font-weight: bold; } >f *** g = first f >>> second g </code ></pre + ><p + >Block quote:</p ><blockquote ><p - >Here is a block quote section.</p + >foo bar</p ></blockquote ></body ></html diff --git a/tests/lhs-test.latex b/tests/lhs-test.latex index 73273765a..cd086e033 100644 --- a/tests/lhs-test.latex +++ b/tests/lhs-test.latex @@ -29,8 +29,10 @@ pair and one arrow on the second item of the pair). \begin{verbatim} f *** g = first f >>> second g \end{verbatim} +Block quote: + \begin{quote} -Here is a block quote section. +foo bar \end{quote} \end{document} diff --git a/tests/lhs-test.latex+lhs b/tests/lhs-test.latex+lhs index 203955d1a..951cbb81f 100644 --- a/tests/lhs-test.latex+lhs +++ b/tests/lhs-test.latex+lhs @@ -29,8 +29,10 @@ pair and one arrow on the second item of the pair). \begin{verbatim} f *** g = first f >>> second g \end{verbatim} +Block quote: + \begin{quote} -Here is a block quote section. +foo bar \end{quote} \end{document} diff --git a/tests/lhs-test.markdown b/tests/lhs-test.markdown index 2b3223493..5b7c6465a 100644 --- a/tests/lhs-test.markdown +++ b/tests/lhs-test.markdown @@ -13,7 +13,9 @@ and one arrow on the second item of the pair). f *** g = first f >>> second g -> Here is a block quote section. +Block quote: + +> foo bar diff --git a/tests/lhs-test.markdown+lhs b/tests/lhs-test.markdown+lhs index 9d6714e44..fa8564a98 100644 --- a/tests/lhs-test.markdown+lhs +++ b/tests/lhs-test.markdown+lhs @@ -14,7 +14,9 @@ and one arrow on the second item of the pair). f *** g = first f >>> second g - > Here is a block quote section. +Block quote: + + > foo bar diff --git a/tests/lhs-test.native b/tests/lhs-test.native index 6993d10de..cd4f45bfa 100644 --- a/tests/lhs-test.native +++ b/tests/lhs-test.native @@ -4,7 +4,8 @@ Pandoc (Meta [] [] "") , CodeBlock ("",["sourceCode","haskell"],[]) "unsplit :: (Arrow a) => (b -> c -> d) -> a (b, c) d\nunsplit = arr . uncurry \n -- arr (\\op (x,y) -> x `op` y) " , Para [Code "(***)",Space,Str "combines",Space,Str "two",Space,Str "arrows",Space,Str "into",Space,Str "a",Space,Str "new",Space,Str "arrow",Space,Str "by",Space,Str "running",Space,Str "the",Space,Str "two",Space,Str "arrows",Space,Str "on",Space,Str "a",Space,Str "pair",Space,Str "of",Space,Str "values",Space,Str "(one",Space,Str "arrow",Space,Str "on",Space,Str "the",Space,Str "first",Space,Str "item",Space,Str "of",Space,Str "the",Space,Str "pair",Space,Str "and",Space,Str "one",Space,Str "arrow",Space,Str "on",Space,Str "the",Space,Str "second",Space,Str "item",Space,Str "of",Space,Str "the",Space,Str "pair)",Str "."] , CodeBlock ("",[],[]) "f *** g = first f >>> second g" +, Para [Str "Block",Space,Str "quote:"] , BlockQuote - [ Para [Str "Here",Space,Str "is",Space,Str "a",Space,Str "block",Space,Str "quote",Space,Str "section",Str "."] ] + [ Para [Str "foo",Space,Str "bar"] ] ] diff --git a/tests/lhs-test.rst b/tests/lhs-test.rst index 0cde4237a..c567fb4ed 100644 --- a/tests/lhs-test.rst +++ b/tests/lhs-test.rst @@ -18,7 +18,9 @@ and one arrow on the second item of the pair). f *** g = first f >>> second g - Here is a block quote section. +Block quote: + + foo bar diff --git a/tests/lhs-test.rst+lhs b/tests/lhs-test.rst+lhs index 9d2f1cbcb..7feeea2dc 100644 --- a/tests/lhs-test.rst+lhs +++ b/tests/lhs-test.rst+lhs @@ -16,7 +16,9 @@ and one arrow on the second item of the pair). f *** g = first f >>> second g - Here is a block quote section. +Block quote: + + foo bar