Markdown reader: Moved smartPunctuation parser, for slight speed bump.
commite20052a1bad73fb4c1556afe80a569343011d669
authorJohn MacFarlane <jgm@berkeley.edu>
dateTue 7 Dec 2010, 20:09 (16 years ago)
parentace3b80
src/Text/Pandoc/Readers/Markdown.hs+1−1
@@ -897,7 +897,6 @@ inline = choice inlineParsers <?> "inline"
897897
898898inlineParsers :: [GenParser Char ParserState Inline]
899899inlineParsers = [ str
900− , smartPunctuation inline
901900 , whitespace
902901 , endline
903902 , code
@@ -919,6 +918,7 @@ inlineParsers = [ str
919918 , rawLaTeXInline'
920919 , escapedChar
921920 , exampleRef
921+ , smartPunctuation inline
922922 , symbol
923923 , ltSign ]
924924