aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/docbook-reader.docbook4
-rw-r--r--test/docbook-reader.native7
-rw-r--r--test/docbook-xref.native2
3 files changed, 12 insertions, 1 deletions
diff --git a/test/docbook-reader.docbook b/test/docbook-reader.docbook
index 00bd84649..8b0b34c42 100644
--- a/test/docbook-reader.docbook
+++ b/test/docbook-reader.docbook
@@ -1615,4 +1615,8 @@ or here: <http://example.com/>
<indexterm><primary>food</primary><secondary>big <foreignphrase>baguette</foreignphrase> <strong>supreme</strong></secondary></indexterm>Nested content in index term elements is flattened.
</para>
</sect1>
+<sect1 id="titleabbrev">
+ <title>Abbreviated title</title>
+ <titleabbrev>Abbr. title</titleabbrev>
+</sect1>
</article>
diff --git a/test/docbook-reader.native b/test/docbook-reader.native
index 7520068b1..16eef6632 100644
--- a/test/docbook-reader.native
+++ b/test/docbook-reader.native
@@ -3117,4 +3117,11 @@ Pandoc
, Space
, Str "flattened."
]
+ , Header
+ 1
+ ( "titleabbrev"
+ , []
+ , [ ( "titleabbrev" , "Abbr. title" ) ]
+ )
+ [ Str "Abbreviated" , Space , Str "title" ]
]
diff --git a/test/docbook-xref.native b/test/docbook-xref.native
index 1b4ced24e..2983eac0c 100644
--- a/test/docbook-xref.native
+++ b/test/docbook-xref.native
@@ -156,7 +156,7 @@ Pandoc
[ Str "Some" , Space , Str "content" , Space , Str "here" ]
, Header
1
- ( "ch04" , [] , [] )
+ ( "ch04" , [] , [ ( "titleabbrev" , "Chapter 4" ) ] )
[ Str "The" , Space , Str "Fourth" , Space , Str "Chapter" ]
, Para
[ Str "Some" , Space , Str "content" , Space , Str "here" ]