aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2010-12-07 20:09:40 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2010-12-07 20:09:40 -0800
commite20052a1bad73fb4c1556afe80a569343011d669 (patch)
tree672f20fd840f5a114c2846cfb9aa73271498fa7c
parentace3b80f1eba86d4819bb21643271b6152d9f59b (diff)
downloadpandoc-e20052a1bad73fb4c1556afe80a569343011d669.tar.gz
Markdown reader: Moved smartPunctuation parser, for slight speed bump.
-rw-r--r--src/Text/Pandoc/Readers/Markdown.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/Markdown.hs b/src/Text/Pandoc/Readers/Markdown.hs
index accb4cdc4..c9f6adcb3 100644
--- a/src/Text/Pandoc/Readers/Markdown.hs
+++ b/src/Text/Pandoc/Readers/Markdown.hs
@@ -897,7 +897,6 @@ inline = choice inlineParsers <?> "inline"
inlineParsers :: [GenParser Char ParserState Inline]
inlineParsers = [ str
- , smartPunctuation inline
, whitespace
, endline
, code
@@ -919,6 +918,7 @@ inlineParsers = [ str
, rawLaTeXInline'
, escapedChar
, exampleRef
+ , smartPunctuation inline
, symbol
, ltSign ]