aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Text/Pandoc/Readers/Man.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/Man.hs b/src/Text/Pandoc/Readers/Man.hs
index f8f984562..77f8d42ec 100644
--- a/src/Text/Pandoc/Readers/Man.hs
+++ b/src/Text/Pandoc/Readers/Man.hs
@@ -561,5 +561,7 @@ parseSkipMacro :: PandocMonad m => ManParser m Blocks
parseSkipMacro = do
pos <- getPosition
tok <- mmacroAny
- report $ SkippedContent (show tok) pos
+ case tok of
+ MMacro mkind _ -> report $ SkippedContent ('.':mkind) pos
+ _ -> return () -- shouldn't happen
return mempty