From e20052a1bad73fb4c1556afe80a569343011d669 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 7 Dec 2010 20:09:40 -0800 Subject: Markdown reader: Moved smartPunctuation parser, for slight speed bump. --- src/Text/Pandoc/Readers/Markdown.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Text/Pandoc') 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 ] -- cgit v1.2.3