HTML reader: Fix pattern match.
This commit is contained in:
parent
76e580d571
commit
1d0805ce41
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue