summaryrefslogtreecommitdiff
path: root/tests/writer.docbook
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-07-22 18:49:23 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-07-22 18:49:23 +0000
commitc9e89e17934c6ead71e7b3e2d0ceb068963026fa (patch)
tree8b5352bcec8cf4fb9d25231fb0a868431f9bea5b /tests/writer.docbook
parent9ddd464a7e6a434380a52ef69b97850e0cead138 (diff)
Updated test suite for writers, adding tests for
strikeout, superscript, subscript. git-svn-id: https://pandoc.googlecode.com/svn/trunk@766 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'tests/writer.docbook')
-rw-r--r--tests/writer.docbook16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/writer.docbook b/tests/writer.docbook
index e9c425197..7d5b72abd 100644
--- a/tests/writer.docbook
+++ b/tests/writer.docbook
@@ -725,6 +725,22 @@ These should not be escaped: \$ \\ \&gt; \[ \{
<literal>\</literal>, <literal>\$</literal>,
<literal>&lt;html&gt;</literal>.
</para>
+ <para>
+ <emphasis role="strikethrough">This is <emphasis>strikeout</emphasis>.</emphasis>
+ </para>
+ <para>
+ Superscripts: a<superscript>bc</superscript>d
+ a<superscript><emphasis>hello</emphasis></superscript>
+ a<superscript>hello there</superscript>.
+ </para>
+ <para>
+ Subscripts: H<subscript>2</subscript>O,
+ H<subscript>23</subscript>O, H<subscript>many of them</subscript>O.
+ </para>
+ <para>
+ These should not be superscripts or subscripts, because of the
+ unescaped spaces: a^b c^d, a~b c~d.
+ </para>
</section>
<section>
<title>Smart quotes, ellipses, dashes</title>