From 64023d8ba8fa1e8ed8bdc249fa3eb62d2f805c5a Mon Sep 17 00:00:00 2001 From: fiddlosopher Date: Wed, 29 Aug 2007 00:16:50 +0000 Subject: Removed unneeded 'try' from noteMarker. git-svn-id: https://pandoc.googlecode.com/svn/trunk@950 788f1e2b-df1e-0410-8736-df70ead52e1b --- src/Text/Pandoc/Readers/Markdown.hs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/Text') diff --git a/src/Text/Pandoc/Readers/Markdown.hs b/src/Text/Pandoc/Readers/Markdown.hs index 457f334b4..ad224e212 100644 --- a/src/Text/Pandoc/Readers/Markdown.hs +++ b/src/Text/Pandoc/Readers/Markdown.hs @@ -172,10 +172,7 @@ referenceKey = try $ do blanklines return $ KeyBlock label (removeTrailingSpace src, tit) -noteMarker = try $ do - char '[' - char '^' - manyTill (noneOf " \t\n") (char ']') +noteMarker = string "[^" >> manyTill (noneOf " \t\n") (char ']') rawLine = try $ do notFollowedBy blankline -- cgit v1.2.3