DocBook reader: set metadata "author" not "authors"
This commit is contained in:
parent
c5a0c7a819
commit
e06aa97bb9
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue