summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers/Docx.hs
diff options
context:
space:
mode:
authormb21 <mb21@users.noreply.github.com>2017-12-22 12:26:06 +0100
committermb21 <mb21@users.noreply.github.com>2017-12-22 20:35:00 +0100
commitadd3cf73a965fb7fa5b45f75442e386294c6fb47 (patch)
treeae26e6db167e36a3ad4858f044b95fd37fe57ab9 /src/Text/Pandoc/Readers/Docx.hs
parent279c254007601de5cb6a44e0d51522748880d732 (diff)
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