Fixed docbook writer test -- removed named entities.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@474 788f1e2b-df1e-0410-8736-df70ead52e1b
This commit is contained in:
parent
19123a540e
commit
458bb40989
1 changed files with 20 additions and 21 deletions
|
@ -17,7 +17,7 @@
|
|||
</articleinfo>
|
||||
<para>
|
||||
This is a set of tests for pandoc. Most of them are adapted from
|
||||
John Gruber's markdown test suite.
|
||||
John Gruber's markdown test suite.
|
||||
</para>
|
||||
<section>
|
||||
<title>Headers</title>
|
||||
|
@ -58,7 +58,7 @@
|
|||
<section>
|
||||
<title>Paragraphs</title>
|
||||
<para>
|
||||
Here's a regular paragraph.
|
||||
Here's a regular paragraph.
|
||||
</para>
|
||||
<para>
|
||||
In Markdown 1.0.0 and earlier. Version 8. This line turns into a
|
||||
|
@ -66,7 +66,7 @@
|
|||
looked like a list item.
|
||||
</para>
|
||||
<para>
|
||||
Here's one with a bullet. * criminey.
|
||||
Here's one with a bullet. * criminey.
|
||||
</para>
|
||||
<para>
|
||||
There should be a hard line
|
||||
|
@ -152,7 +152,7 @@ sub status {
|
|||
</orderedlist>
|
||||
</blockquote>
|
||||
<para>
|
||||
Here's a nested one:
|
||||
Here's a nested one:
|
||||
</para>
|
||||
<blockquote>
|
||||
<para>
|
||||
|
@ -160,7 +160,7 @@ sub status {
|
|||
</para>
|
||||
<blockquote>
|
||||
<para>
|
||||
Don't quote me.
|
||||
Don't quote me.
|
||||
</para>
|
||||
</blockquote>
|
||||
</blockquote>
|
||||
|
@ -407,8 +407,8 @@ These should not be escaped: \$ \\ \> \[ \{
|
|||
Item 1, graf one.
|
||||
</para>
|
||||
<para>
|
||||
Item 1. graf two. The quick brown fox jumped over the lazy
|
||||
dog's back.
|
||||
Item 1. graf two. The quick brown fox jumped over the lazy dog's
|
||||
back.
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
|
@ -447,7 +447,7 @@ These should not be escaped: \$ \\ \> \[ \{
|
|||
</listitem>
|
||||
</itemizedlist>
|
||||
<para>
|
||||
Here's another:
|
||||
Here's another:
|
||||
</para>
|
||||
<orderedlist>
|
||||
<listitem>
|
||||
|
@ -598,20 +598,20 @@ These should not be escaped: \$ \\ \> \[ \{
|
|||
</para>
|
||||
<para>
|
||||
<quote>He said, <quote>I want to go.</quote></quote> Were you alive
|
||||
in the 70's?
|
||||
in the 70's?
|
||||
</para>
|
||||
<para>
|
||||
Here is some quoted <quote><literal>code</literal></quote> and a
|
||||
<quote><ulink url="http://example.com/?foo=1&bar=2">quoted link</ulink></quote>.
|
||||
</para>
|
||||
<para>
|
||||
Some dashes: one—two—three—four—five.
|
||||
Some dashes: one—two—three—four—five.
|
||||
</para>
|
||||
<para>
|
||||
Dashes between numbers: 5–7, 255–66, 1987–1999.
|
||||
Dashes between numbers: 5–7, 255–66, 1987–1999.
|
||||
</para>
|
||||
<para>
|
||||
Ellipses…and…and….
|
||||
Ellipses…and…and….
|
||||
</para>
|
||||
</section>
|
||||
<section>
|
||||
|
@ -659,13 +659,13 @@ These should not be escaped: \$ \\ \> \[ \{
|
|||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Here's one that has a line break in it:
|
||||
Here's one that has a line break in it:
|
||||
<literal>$\alpha + \omega \times x^2$</literal>.
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
<para>
|
||||
These shouldn't be math:
|
||||
These shouldn't be math:
|
||||
</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
|
@ -687,7 +687,7 @@ These should not be escaped: \$ \\ \> \[ \{
|
|||
</listitem>
|
||||
</itemizedlist>
|
||||
<para>
|
||||
Here's a LaTeX table:
|
||||
Here's a LaTeX table:
|
||||
</para>
|
||||
<para>
|
||||
<literal>\begin{tabular}{|l|l|}\hline
|
||||
|
@ -867,19 +867,18 @@ Cat & 1 \\ \hline
|
|||
<section>
|
||||
<title>With ampersands</title>
|
||||
<para>
|
||||
Here's a
|
||||
Here's a
|
||||
<ulink url="http://example.com/?foo=1&bar=2">link with an ampersand in the URL</ulink>.
|
||||
</para>
|
||||
<para>
|
||||
Here's a link with an amersand in the link text:
|
||||
Here's a link with an amersand in the link text:
|
||||
<ulink url="http://att.com/">AT&T</ulink>.
|
||||
</para>
|
||||
<para>
|
||||
Here's an
|
||||
<ulink url="/script?foo=1&bar=2">inline link</ulink>.
|
||||
Here's an <ulink url="/script?foo=1&bar=2">inline link</ulink>.
|
||||
</para>
|
||||
<para>
|
||||
Here's an
|
||||
Here's an
|
||||
<ulink url="/script?foo=1&bar=2">inline link in pointy braces</ulink>.
|
||||
</para>
|
||||
</section>
|
||||
|
@ -964,7 +963,7 @@ or here: <http://example.com/>
|
|||
and
|
||||
another.<footnote>
|
||||
<para>
|
||||
Here's the long note. This one contains multiple blocks.
|
||||
Here's the long note. This one contains multiple blocks.
|
||||
</para>
|
||||
<para>
|
||||
Subsequent blocks are indented to show that they belong to the
|
||||
|
|
Loading…
Reference in a new issue