aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers/Docx.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-12-22 19:05:29 -0700
committerGitHub <noreply@github.com>2017-12-22 19:05:29 -0700
commite3c1449ae6c238f7195981f39bb505da0c69bc0c (patch)
tree758fe23c7dce1fca5d38cf9e28277fb129a75d3b /src/Text/Pandoc/Readers/Docx.hs
parent28b736bf957da0df79ffb211fc5e7ec4ff713c4b (diff)
parentadd3cf73a965fb7fa5b45f75442e386294c6fb47 (diff)
downloadpandoc-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.hs2
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