summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBryan O'Sullivan <bos@serpentine.com>2014-12-08 23:12:06 -0800
committerBryan O'Sullivan <bos@serpentine.com>2014-12-08 23:12:06 -0800
commitfe1d147187db852d2eeacd3e40d3e81d197180a4 (patch)
treecf9c401fb5af448c1f4cd330b14834d4cb3ae5c0 /tests
parent33fdb6bc1550de7cf1d5fa6735bb22adcbc0a7e9 (diff)
DocBook reader: add support for classname
Diffstat (limited to 'tests')
-rw-r--r--tests/docbook-reader.docbook3
-rw-r--r--tests/docbook-reader.native1
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/docbook-reader.docbook b/tests/docbook-reader.docbook
index 8fe2a6ddb..68689645a 100644
--- a/tests/docbook-reader.docbook
+++ b/tests/docbook-reader.docbook
@@ -710,6 +710,9 @@ These should not be escaped: \$ \\ \&gt; \[ \{
<literal>&lt;html&gt;</literal>.
</para>
<para>
+ More code: <classname>Class</classname>
+ </para>
+ <para>
<emphasis role="strikethrough">This is
<emphasis>strikeout</emphasis>.</emphasis>
</para>
diff --git a/tests/docbook-reader.native b/tests/docbook-reader.native
index 7edc15570..2a89c2779 100644
--- a/tests/docbook-reader.native
+++ b/tests/docbook-reader.native
@@ -185,6 +185,7 @@ Pandoc (Meta {unMeta = fromList [("author",MetaList [MetaInlines [Str "John",Spa
,Para [Strong [Emph [Str "This",Space,Str "is",Space,Str "strong",Space,Str "and",Space,Str "em."]]]
,Para [Str "So",Space,Str "is",Space,Strong [Emph [Str "this"]],Space,Str "word."]
,Para [Str "This",Space,Str "is",Space,Str "code:",Space,Code ("",[],[]) ">",Str ",",Space,Code ("",[],[]) "$",Str ",",Space,Code ("",[],[]) "\\",Str ",",Space,Code ("",[],[]) "\\$",Str ",",Space,Code ("",[],[]) "<html>",Str "."]
+,Para [Str "More",Space,Str "code:",Space,Str "Class"]
,Para [Strikeout [Str "This",Space,Str "is",Space,Emph [Str "strikeout"],Str "."]]
,Para [Str "Superscripts:",Space,Str "a",Superscript [Str "bc"],Str "d",Space,Str "a",Superscript [Emph [Str "hello"]],Space,Str "a",Superscript [Str "hello\160there"],Str "."]
,Para [Str "Subscripts:",Space,Str "H",Subscript [Str "2"],Str "O,",Space,Str "H",Subscript [Str "23"],Str "O,",Space,Str "H",Subscript [Str "many\160of\160them"],Str "O."]