From 3b563cfe8fea0e38b2899c98517bb8b61f605082 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 18 Jul 2020 12:32:18 -0700 Subject: DocBook reader: parse releaseinfo as metadata. Closes #6542. Note that you'll need to put releaseinfo somewhere in your template if you want this to be part of the converted output. --- src/Text/Pandoc/Readers/DocBook.hs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Text') diff --git a/src/Text/Pandoc/Readers/DocBook.hs b/src/Text/Pandoc/Readers/DocBook.hs index 096cfc520..b04952c27 100644 --- a/src/Text/Pandoc/Readers/DocBook.hs +++ b/src/Text/Pandoc/Readers/DocBook.hs @@ -608,6 +608,7 @@ addMetadataFromElement e = do addMetaField "author" e addMetaField "date" e addMetaField "release" e + addMetaField "releaseinfo" e return mempty where addMetaField fieldname elt = case filterChildren (named fieldname) elt of -- cgit v1.2.3