diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-09-04 18:11:26 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-09-04 18:11:26 -0700 |
commit | 1d0805ce414398d5ff70c9ed3dbe1288356c7dd9 (patch) | |
tree | 418977eaad931299077a34fed45c8bf27247900c /src/Text/Pandoc | |
parent | 76e580d5718fcbccaedcc953a05589a30e8b51d1 (diff) | |
download | pandoc-1d0805ce414398d5ff70c9ed3dbe1288356c7dd9.tar.gz |
HTML reader: Fix pattern match.
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r-- | src/Text/Pandoc/Readers/HTML.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/HTML.hs b/src/Text/Pandoc/Readers/HTML.hs index 257c16735..2093be19c 100644 --- a/src/Text/Pandoc/Readers/HTML.hs +++ b/src/Text/Pandoc/Readers/HTML.hs @@ -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 |