mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-26 01:15:53 +00:00
DocBook reader: set metadata "author" not "authors"
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user