Docx writer: Added missing case from last commit.
This commit is contained in:
parent
2610de0159
commit
b104db4fb4
1 changed files with 1 additions and 1 deletions
|
@ -484,7 +484,7 @@ writeOpenXML opts (Pandoc meta blocks) = do
|
||||||
let abstract' = case lookupMeta "abstract" meta of
|
let abstract' = case lookupMeta "abstract" meta of
|
||||||
Just (MetaBlocks bs) -> bs
|
Just (MetaBlocks bs) -> bs
|
||||||
Just (MetaInlines ils) -> [Plain ils]
|
Just (MetaInlines ils) -> [Plain ils]
|
||||||
Nothing -> []
|
_ -> []
|
||||||
title <- withParaProp (pStyle "Title") $ blocksToOpenXML opts [Para tit | not (null tit)]
|
title <- withParaProp (pStyle "Title") $ blocksToOpenXML opts [Para tit | not (null tit)]
|
||||||
authors <- withParaProp (pStyle "Authors") $ blocksToOpenXML opts
|
authors <- withParaProp (pStyle "Authors") $ blocksToOpenXML opts
|
||||||
[Para (intercalate [LineBreak] auths) | not (null auths)]
|
[Para (intercalate [LineBreak] auths) | not (null auths)]
|
||||||
|
|
Loading…
Reference in a new issue