summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers/Docx.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Text/Pandoc/Readers/Docx.hs')
-rw-r--r--src/Text/Pandoc/Readers/Docx.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Readers/Docx.hs b/src/Text/Pandoc/Readers/Docx.hs
index 490fdf878..2b92cceee 100644
--- a/src/Text/Pandoc/Readers/Docx.hs
+++ b/src/Text/Pandoc/Readers/Docx.hs
@@ -411,6 +411,9 @@ parPartToInlines (ExternalHyperLink target runs) = do
return $ link target "" ils
parPartToInlines (PlainOMath exps) = do
return $ math $ writeTeX exps
+parPartToInlines (SmartTag runs) = do
+ ils <- smushInlines <$> mapM runToInlines runs
+ return ils
isAnchorSpan :: Inline -> Bool
isAnchorSpan (Span (_, classes, kvs) _) =