From 9f871ab1ec59f7c67a71263979a27792780dc5f7 Mon Sep 17 00:00:00 2001 From: fiddlosopher Date: Mon, 23 Jul 2007 02:28:15 +0000 Subject: Fixed bug in spanStrikeout: case was not exhaustive. git-svn-id: https://pandoc.googlecode.com/svn/trunk@786 788f1e2b-df1e-0410-8736-df70ead52e1b --- src/Text/Pandoc/Readers/HTML.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Text/Pandoc') diff --git a/src/Text/Pandoc/Readers/HTML.hs b/src/Text/Pandoc/Readers/HTML.hs index 3fbf9e426..8fff78ac1 100644 --- a/src/Text/Pandoc/Readers/HTML.hs +++ b/src/Text/Pandoc/Readers/HTML.hs @@ -458,7 +458,7 @@ spanStrikeout = try $ do (tag, attributes) <- htmlTag "span" result <- case (extractAttribute "class" attributes) of Just "strikeout" -> inlinesTilEnd "span" - Nothing -> fail "not a strikeout" + _ -> fail "not a strikeout" return (Strikeout result) strong = try (do -- cgit v1.2.3