diff options
author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2007-08-29 19:59:08 +0000 |
---|---|---|
committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2007-08-29 19:59:08 +0000 |
commit | 7f8ec9577e3b2d821d67f87ad8070315474aa359 (patch) | |
tree | a247b2d3346be95d115c3b917d66243f1767cf0b | |
parent | 60f700997cb781e925bfec84f4c1ee8739382892 (diff) | |
download | pandoc-7f8ec9577e3b2d821d67f87ad8070315474aa359.tar.gz |
Removed unneeded 'try' in 'ellipses'.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@956 788f1e2b-df1e-0410-8736-df70ead52e1b
-rw-r--r-- | src/Text/Pandoc/Readers/Markdown.hs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Text/Pandoc/Readers/Markdown.hs b/src/Text/Pandoc/Readers/Markdown.hs index 877c78ab0..461910b0e 100644 --- a/src/Text/Pandoc/Readers/Markdown.hs +++ b/src/Text/Pandoc/Readers/Markdown.hs @@ -753,8 +753,7 @@ doubleQuoteStart = failIfInQuoteContext InDoubleQuote >> doubleQuoteEnd = char '"' <|> char '\8221' -ellipses = try $ oneOfStrings ["...", " . . . ", ". . .", " . . ."] >> - return Ellipses +ellipses = oneOfStrings ["...", " . . . ", ". . .", " . . ."] >> return Ellipses dash = enDash <|> emDash |