From 1bff443ac9b02139c00ebeafd8e5cc910d7bee9e Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 16 Jul 2014 07:54:44 -0700 Subject: Removed redundant clause in markdown parser. Thanks @dubiousjim. Close #1431. --- src/Text/Pandoc/Readers/Markdown.hs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/Text/Pandoc/Readers') diff --git a/src/Text/Pandoc/Readers/Markdown.hs b/src/Text/Pandoc/Readers/Markdown.hs index 1e74f051c..1e8a03ae8 100644 --- a/src/Text/Pandoc/Readers/Markdown.hs +++ b/src/Text/Pandoc/Readers/Markdown.hs @@ -353,8 +353,7 @@ referenceKey = try $ do notFollowedBy' referenceTitle notFollowedBy' (() <$ reference) many1 $ notFollowedBy space >> litChar - let betweenAngles = try $ char '<' >> - manyTill (escapedChar' <|> litChar) (char '>') + let betweenAngles = try $ char '<' >> manyTill litChar (char '>') src <- try betweenAngles <|> sourceURL tit <- option "" referenceTitle -- currently we just ignore MMD-style link/image attributes -- cgit v1.2.3