Docbook writer: Add personname element to docbook author.
Closes #6244.
This commit is contained in:
parent
f6615ad85e
commit
8ec3f6fc46
1 changed files with 2 additions and 1 deletions
|
@ -47,7 +47,8 @@ authorToDocbook opts name' = do
|
|||
let colwidth = if writerWrapText opts == WrapAuto
|
||||
then Just $ writerColumns opts
|
||||
else Nothing
|
||||
return $ B.rawInline "docbook" $ render colwidth $
|
||||
return $ B.rawInline "docbook" $
|
||||
render colwidth $ inTags True "personname" [] $
|
||||
if T.any (== ',') name
|
||||
then -- last name first
|
||||
let (lastname, rest) = T.break (==',') name
|
||||
|
|
Loading…
Add table
Reference in a new issue