From e06aa97bb93cab5ddeadca5b65e45649663e527c Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 4 Apr 2014 21:39:08 -0700 Subject: DocBook reader: set metadata "author" not "authors" --- src/Text/Pandoc/Readers/DocBook.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Text/Pandoc') diff --git a/src/Text/Pandoc/Readers/DocBook.hs b/src/Text/Pandoc/Readers/DocBook.hs index 28af646c1..4fb38a07d 100644 --- a/src/Text/Pandoc/Readers/DocBook.hs +++ b/src/Text/Pandoc/Readers/DocBook.hs @@ -792,7 +792,7 @@ parseBlock (Elem e) = getAuthor = (:[]) <$> getInlines e >>= addMeta "author" getAuthorGroup = do let terms = filterChildren (named "author") e - mapM getInlines terms >>= addMeta "authors" + mapM getInlines terms >>= addMeta "author" getDate = getInlines e >>= addMeta "date" parseTable = do let isCaption x = named "title" x || named "caption" x -- cgit v1.2.3