HTML reader: Fix pattern match.

This commit is contained in:
John MacFarlane 2017-09-04 18:11:26 -07:00
parent 76e580d571
commit 1d0805ce41

View file

@ -592,7 +592,7 @@ pFigure = try $ do
case B.toList <$> mbimg of
Just [Image attr _ (url, tit)] ->
return $ B.para $ B.imageWith attr url ("fig:" ++ tit) caption
Nothing -> mzero
_ -> mzero
pCodeBlock :: PandocMonad m => TagParser m Blocks
pCodeBlock = try $ do