git.iko.soy/typeable/pandoc
on master help sign in
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.

commita3b351c3a627b9eea080475d5e36fe9a50911831 authorJohn MacFarlane <jgm@berkeley.edu> dateSat 27 Oct 2018, 09:09 (8 years ago) parent1a7b938
1 file changed+1−1
src/Text/Pandoc/Readers/Man.hs+1−1
src/Text/Pandoc/Readers/Man.hs+1−1
@@ -142,7 +142,7 @@ parseTable = do
142142 then return $ Right mempty
143143 else lift $ readWithMTokens tcell st ts'
144144 case res of
145− Left e -> throwError e
145+ Left _ -> fail "Could not parse table cell"
146146 Right x -> return x
147147
148148 isHrule :: TableRow -> Bool