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
This commit is contained in:
parent
0d2439949e
commit
6033ea729c
10 changed files with 29 additions and 10 deletions
|
@ -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
|
||||
>
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -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"] ]
|
||||
]
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue