From a3b351c3a627b9eea080475d5e36fe9a50911831 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 27 Oct 2018 09:09:40 -0700 Subject: Man reader: don't throw an error if a table cell can't be parsed... as inlines. Instead, just have the parser fail. See #5026. --- src/Text/Pandoc/Readers/Man.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Text/Pandoc/Readers') diff --git a/src/Text/Pandoc/Readers/Man.hs b/src/Text/Pandoc/Readers/Man.hs index 67639bee4..665679c4d 100644 --- a/src/Text/Pandoc/Readers/Man.hs +++ b/src/Text/Pandoc/Readers/Man.hs @@ -142,7 +142,7 @@ parseTable = do then return $ Right mempty else lift $ readWithMTokens tcell st ts' case res of - Left e -> throwError e + Left _ -> fail "Could not parse table cell" Right x -> return x isHrule :: TableRow -> Bool -- cgit v1.2.3