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:
parent
1a7b9382db
commit
a3b351c3a6
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ parseTable = do
|
||||||
then return $ Right mempty
|
then return $ Right mempty
|
||||||
else lift $ readWithMTokens tcell st ts'
|
else lift $ readWithMTokens tcell st ts'
|
||||||
case res of
|
case res of
|
||||||
Left e -> throwError e
|
Left _ -> fail "Could not parse table cell"
|
||||||
Right x -> return x
|
Right x -> return x
|
||||||
|
|
||||||
isHrule :: TableRow -> Bool
|
isHrule :: TableRow -> Bool
|
||||||
|
|
Loading…
Reference in a new issue