diff options
author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2007-08-29 00:16:50 +0000 |
---|---|---|
committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2007-08-29 00:16:50 +0000 |
commit | 64023d8ba8fa1e8ed8bdc249fa3eb62d2f805c5a (patch) | |
tree | 8c6725aa4c91173bbd1182aad2f25161d772551c /src/Text/Pandoc | |
parent | 40b870375dbb593e06f8998feadbff4818d09806 (diff) | |
download | pandoc-64023d8ba8fa1e8ed8bdc249fa3eb62d2f805c5a.tar.gz |
Removed unneeded 'try' from noteMarker.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@950 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r-- | src/Text/Pandoc/Readers/Markdown.hs | 5 |
1 files changed, 1 insertions, 4 deletions
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 |