git.iko.soy/typeable/pandoc
on master help sign in
Removed unneeded 'try' from noteMarker.
64023d8fiddlosopher
src/Text/Pandoc/Readers/Markdown.hs+1−4
@@ -172,10 +172,7 @@ referenceKey = try $ do
172 blanklines
172 blanklines
173 return $ KeyBlock label (removeTrailingSpace src, tit)
173 return $ KeyBlock label (removeTrailingSpace src, tit)
174
174
175−noteMarker = try $ do
176− char '['
177− char '^'
178− manyTill (noneOf " \t\n") (char ']')
175+noteMarker = string "[^" >> manyTill (noneOf " \t\n") (char ']')
179
176
180rawLine = try $ do
177rawLine = try $ do
181 notFollowedBy blankline
178 notFollowedBy blankline