aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Text/Pandoc/Readers/Markdown.hs1
-rw-r--r--tests/testsuite.txt1
2 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/Markdown.hs b/src/Text/Pandoc/Readers/Markdown.hs
index 88aae7b3f..f27d0635c 100644
--- a/src/Text/Pandoc/Readers/Markdown.hs
+++ b/src/Text/Pandoc/Readers/Markdown.hs
@@ -207,6 +207,7 @@ referenceKey = try $ do
notFollowedBy' referenceTitle
skipMany (oneOf " \t")
optional nl
+ optional nonindentSpaces
notFollowedBy' reference
skipMany (oneOf " \t")
many1 (noneOf " \t\n")
diff --git a/tests/testsuite.txt b/tests/testsuite.txt
index a8730878a..91074efad 100644
--- a/tests/testsuite.txt
+++ b/tests/testsuite.txt
@@ -631,7 +631,6 @@ Indented [thrice][].
This should [not][] be a link.
[once]: /url
-
[twice]: /url
[thrice]: /url