git.iko.soy/typeable/pandoc
on master help sign in
Docx writer: Added missing case from last commit.
commitb104db4fb4b738fd135e5e782424c25342b30d22 authorJohn MacFarlane <fiddlosopher@gmail.com> dateSat 26 Jul 2014, 23:32 (12 years ago) parent2610de0
1 file changed+1−1
src/Text/Pandoc/Writers/Docx.hs+1−1
src/Text/Pandoc/Writers/Docx.hs+1−1
@@ -484,7 +484,7 @@ writeOpenXML opts (Pandoc meta blocks) = do
484484 let abstract' = case lookupMeta "abstract" meta of
485485 Just (MetaBlocks bs) -> bs
486486 Just (MetaInlines ils) -> [Plain ils]
487− Nothing -> []
487+ _ -> []
488488 title <- withParaProp (pStyle "Title") $ blocksToOpenXML opts [Para tit | not (null tit)]
489489 authors <- withParaProp (pStyle "Authors") $ blocksToOpenXML opts
490490 [Para (intercalate [LineBreak] auths) | not (null auths)]