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.
This commit is contained in:
John MacFarlane 2018-10-27 09:09:40 -07:00
parent 1a7b9382db
commit a3b351c3a6

View file

@ -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