aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r--src/Text/Pandoc/Readers/Markdown.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Text/Pandoc/Readers/Markdown.hs b/src/Text/Pandoc/Readers/Markdown.hs
index f27d0635c..4bd9c9e07 100644
--- a/src/Text/Pandoc/Readers/Markdown.hs
+++ b/src/Text/Pandoc/Readers/Markdown.hs
@@ -207,9 +207,8 @@ referenceKey = try $ do
notFollowedBy' referenceTitle
skipMany (oneOf " \t")
optional nl
- optional nonindentSpaces
- notFollowedBy' reference
skipMany (oneOf " \t")
+ notFollowedBy' reference
many1 (noneOf " \t\n")
let betweenAngles = try $ char '<' >>
manyTill (noneOf ">\n" <|> nl) (char '>')