diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-12-22 19:05:29 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-22 19:05:29 -0700 |
commit | e3c1449ae6c238f7195981f39bb505da0c69bc0c (patch) | |
tree | 758fe23c7dce1fca5d38cf9e28277fb129a75d3b /src/Text/Pandoc/Readers/Docx.hs | |
parent | 28b736bf957da0df79ffb211fc5e7ec4ff713c4b (diff) | |
parent | add3cf73a965fb7fa5b45f75442e386294c6fb47 (diff) | |
download | pandoc-e3c1449ae6c238f7195981f39bb505da0c69bc0c.tar.gz |
Merge pull request #4189 from mb21/export-blocksToInlines
API change: export blocksToInlines' from Text.Pandoc.Shared
Diffstat (limited to 'src/Text/Pandoc/Readers/Docx.hs')
-rw-r--r-- | src/Text/Pandoc/Readers/Docx.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/Docx.hs b/src/Text/Pandoc/Readers/Docx.hs index 7c7845c71..d73da3085 100644 --- a/src/Text/Pandoc/Readers/Docx.hs +++ b/src/Text/Pandoc/Readers/Docx.hs @@ -337,7 +337,7 @@ blocksToInlinesWarn cmtId blks = do unless (null $ filter notParaOrPlain blkList) $ lift $ P.report $ DocxParserWarning $ "Docx comment " ++ cmtId ++ " will not retain formatting" - return $ fromList $ blocksToInlines blkList + return $ blocksToInlines' blkList parPartToInlines :: PandocMonad m => ParPart -> DocxContext m Inlines parPartToInlines (PlainRun r) = runToInlines r |