git.iko.soy/typeable/pandoc
on master help sign in
Fixed docbook writer test -- removed named entities.
458bb40fiddlosopher
tests/writer.docbook+20−21
@@ -17,7 +17,7 @@
17 </articleinfo>
17 </articleinfo>
18 <para>
18 <para>
19 This is a set of tests for pandoc. Most of them are adapted from
19 This is a set of tests for pandoc. Most of them are adapted from
20− John Gruber&apos;s markdown test suite.
20+ John Gruber's markdown test suite.
21 </para>
21 </para>
22 <section>
22 <section>
23 <title>Headers</title>
23 <title>Headers</title>
@@ -58,7 +58,7 @@
58 <section>
58 <section>
59 <title>Paragraphs</title>
59 <title>Paragraphs</title>
60 <para>
60 <para>
61− Here&apos;s a regular paragraph.
61+ Here's a regular paragraph.
62 </para>
62 </para>
63 <para>
63 <para>
64 In Markdown 1.0.0 and earlier. Version 8. This line turns into a
64 In Markdown 1.0.0 and earlier. Version 8. This line turns into a
@@ -66,7 +66,7 @@
66 looked like a list item.
66 looked like a list item.
67 </para>
67 </para>
68 <para>
68 <para>
69− Here&apos;s one with a bullet. * criminey.
69+ Here's one with a bullet. * criminey.
70 </para>
70 </para>
71 <para>
71 <para>
72 There should be a hard line
72 There should be a hard line
@@ -152,7 +152,7 @@ sub status {
152 </orderedlist>
152 </orderedlist>
153 </blockquote>
153 </blockquote>
154 <para>
154 <para>
155− Here&apos;s a nested one:
155+ Here's a nested one:
156 </para>
156 </para>
157 <blockquote>
157 <blockquote>
158 <para>
158 <para>
@@ -160,7 +160,7 @@ sub status {
160 </para>
160 </para>
161 <blockquote>
161 <blockquote>
162 <para>
162 <para>
163− Don&apos;t quote me.
163+ Don't quote me.
164 </para>
164 </para>
165 </blockquote>
165 </blockquote>
166 </blockquote>
166 </blockquote>
@@ -407,8 +407,8 @@ These should not be escaped: \$ \\ \&gt; \[ \{
407 Item 1, graf one.
407 Item 1, graf one.
408 </para>
408 </para>
409 <para>
409 <para>
410− Item 1. graf two. The quick brown fox jumped over the lazy
410+ Item 1. graf two. The quick brown fox jumped over the lazy dog's
411− dog&apos;s back.
411+ back.
412 </para>
412 </para>
413 </listitem>
413 </listitem>
414 <listitem>
414 <listitem>
@@ -447,7 +447,7 @@ These should not be escaped: \$ \\ \&gt; \[ \{
447 </listitem>
447 </listitem>
448 </itemizedlist>
448 </itemizedlist>
449 <para>
449 <para>
450− Here&apos;s another:
450+ Here's another:
451 </para>
451 </para>
452 <orderedlist>
452 <orderedlist>
453 <listitem>
453 <listitem>
@@ -598,20 +598,20 @@ These should not be escaped: \$ \\ \&gt; \[ \{
598 </para>
598 </para>
599 <para>
599 <para>
600 <quote>He said, <quote>I want to go.</quote></quote> Were you alive
600 <quote>He said, <quote>I want to go.</quote></quote> Were you alive
601− in the 70&apos;s?
601+ in the 70's?
602 </para>
602 </para>
603 <para>
603 <para>
604 Here is some quoted <quote><literal>code</literal></quote> and a
604 Here is some quoted <quote><literal>code</literal></quote> and a
605 <quote><ulink url="http://example.com/?foo=1&amp;bar=2">quoted link</ulink></quote>.
605 <quote><ulink url="http://example.com/?foo=1&amp;bar=2">quoted link</ulink></quote>.
606 </para>
606 </para>
607 <para>
607 <para>
608− Some dashes: one&mdash;two&mdash;three&mdash;four&mdash;five.
608+ Some dashes: one&#8212;two&#8212;three&#8212;four&#8212;five.
609 </para>
609 </para>
610 <para>
610 <para>
611− Dashes between numbers: 5&ndash;7, 255&ndash;66, 1987&ndash;1999.
611+ Dashes between numbers: 5&#8211;7, 255&#8211;66, 1987&#8211;1999.
612 </para>
612 </para>
613 <para>
613 <para>
614− Ellipses&hellip;and&hellip;and&hellip;.
614+ Ellipses&#8230;and&#8230;and&#8230;.
615 </para>
615 </para>
616 </section>
616 </section>
617 <section>
617 <section>
@@ -659,13 +659,13 @@ These should not be escaped: \$ \\ \&gt; \[ \{
659 </listitem>
659 </listitem>
660 <listitem>
660 <listitem>
661 <para>
661 <para>
662− Here&apos;s one that has a line break in it:
662+ Here's one that has a line break in it:
663 <literal>$\alpha + \omega \times x^2$</literal>.
663 <literal>$\alpha + \omega \times x^2$</literal>.
664 </para>
664 </para>
665 </listitem>
665 </listitem>
666 </itemizedlist>
666 </itemizedlist>
667 <para>
667 <para>
668− These shouldn&apos;t be math:
668+ These shouldn't be math:
669 </para>
669 </para>
670 <itemizedlist>
670 <itemizedlist>
671 <listitem>
671 <listitem>
@@ -687,7 +687,7 @@ These should not be escaped: \$ \\ \&gt; \[ \{
687 </listitem>
687 </listitem>
688 </itemizedlist>
688 </itemizedlist>
689 <para>
689 <para>
690− Here&apos;s a LaTeX table:
690+ Here's a LaTeX table:
691 </para>
691 </para>
692 <para>
692 <para>
693 <literal>\begin{tabular}{|l|l|}\hline
693 <literal>\begin{tabular}{|l|l|}\hline
@@ -867,19 +867,18 @@ Cat &amp; 1 \\ \hline
867 <section>
867 <section>
868 <title>With ampersands</title>
868 <title>With ampersands</title>
869 <para>
869 <para>
870− Here&apos;s a
870+ Here's a
871 <ulink url="http://example.com/?foo=1&amp;bar=2">link with an ampersand in the URL</ulink>.
871 <ulink url="http://example.com/?foo=1&amp;bar=2">link with an ampersand in the URL</ulink>.
872 </para>
872 </para>
873 <para>
873 <para>
874− Here&apos;s a link with an amersand in the link text:
874+ Here's a link with an amersand in the link text:
875 <ulink url="http://att.com/">AT&amp;T</ulink>.
875 <ulink url="http://att.com/">AT&amp;T</ulink>.
876 </para>
876 </para>
877 <para>
877 <para>
878− Here&apos;s an
879− <ulink url="/script?foo=1&amp;bar=2">inline link</ulink>.
878+ Here's an <ulink url="/script?foo=1&amp;bar=2">inline link</ulink>.
880 </para>
879 </para>
881 <para>
880 <para>
882− Here&apos;s an
881+ Here's an
883 <ulink url="/script?foo=1&amp;bar=2">inline link in pointy braces</ulink>.
882 <ulink url="/script?foo=1&amp;bar=2">inline link in pointy braces</ulink>.
884 </para>
883 </para>
885 </section>
884 </section>
@@ -964,7 +963,7 @@ or here: &lt;http://example.com/&gt;
964 and
963 and
965 another.<footnote>
964 another.<footnote>
966 <para>
965 <para>
967− Here&apos;s the long note. This one contains multiple blocks.
966+ Here's the long note. This one contains multiple blocks.
968 </para>
967 </para>
969 <para>
968 <para>
970 Subsequent blocks are indented to show that they belong to the
969 Subsequent blocks are indented to show that they belong to the