Docx writer: Added missing case from last commit.

This commit is contained in:
John MacFarlane 2014-07-26 23:32:13 -07:00
parent 2610de0159
commit b104db4fb4

View file

@ -484,7 +484,7 @@ writeOpenXML opts (Pandoc meta blocks) = do
let abstract' = case lookupMeta "abstract" meta of
Just (MetaBlocks bs) -> bs
Just (MetaInlines ils) -> [Plain ils]
Nothing -> []
_ -> []
title <- withParaProp (pStyle "Title") $ blocksToOpenXML opts [Para tit | not (null tit)]
authors <- withParaProp (pStyle "Authors") $ blocksToOpenXML opts
[Para (intercalate [LineBreak] auths) | not (null auths)]