aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-07-30 14:38:38 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2018-07-30 14:38:38 -0700
commit78dca68a0a484f3230535e91a98a30cb8090aee8 (patch)
treed7c2f1a13274f488e4057996427659a04f8f7053 /test
parentfb94c0f6a1b98d4f7ff34107d3b63c2c1d0afe1f (diff)
downloadpandoc-78dca68a0a484f3230535e91a98a30cb8090aee8.tar.gz
DocBook reader: metadata handling improvements.
Now we properly parse title and subtitle elements that are direct children of book and article (as well as children of bookinfo, articleinfo, or info). We also now use the "subtitle" metadata field for subtitles, rather than tacking the subtitle on to the title.
Diffstat (limited to 'test')
-rw-r--r--test/docbook-xref.native2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/docbook-xref.native b/test/docbook-xref.native
index 23bc497b2..54a63768e 100644
--- a/test/docbook-xref.native
+++ b/test/docbook-xref.native
@@ -1,4 +1,4 @@
-Pandoc (Meta {unMeta = fromList []})
+Pandoc (Meta {unMeta = fromList [("title",MetaInlines [Str "An",Space,Str "Example",Space,Str "Book"])]})
[Header 1 ("ch01",[],[]) [Str "XRef",Space,Str "Samples"]
,Para [Str "This",Space,Str "paragraph",Space,Str "demonstrates",Space,Str "several",Space,Str "features",Space,Str "of",SoftBreak,Str "XRef."]
,BulletList