git.iko.soy/typeable/pandoc
on master help sign in
Markdown reader: Fixed regression in reference key parser.
71e0557John MacFarlane
src/Text/Pandoc/Readers/Markdown.hs+1
@@ -207,6 +207,7 @@ referenceKey = try $ do
207 notFollowedBy' referenceTitle
207 notFollowedBy' referenceTitle
208 skipMany (oneOf " \t")
208 skipMany (oneOf " \t")
209 optional nl
209 optional nl
210+ optional nonindentSpaces
210 notFollowedBy' reference
211 notFollowedBy' reference
211 skipMany (oneOf " \t")
212 skipMany (oneOf " \t")
212 many1 (noneOf " \t\n")
213 many1 (noneOf " \t\n")
tests/testsuite.txt−1
@@ -631,7 +631,6 @@ Indented [thrice][].
631This should [not][] be a link.
631This should [not][] be a link.
632
632
633 [once]: /url
633 [once]: /url
634−
635 [twice]: /url
634 [twice]: /url
636
635
637 [thrice]: /url
636 [thrice]: /url