git.iko.soy/typeable/pandoc
on master help sign in
More intelligent rearranging of 'inline' for speed boosts
b6ebe75fiddlosopher
src/Text/Pandoc/Readers/Markdown.hs+3−3
@@ -615,13 +615,13 @@ table = failIfStrict >> (simpleTable <|> multilineTable) <?> "table"
615-- inline
615-- inline
616--
616--
617
617
618−inline = choice [ rawLaTeXInline'
618+inline = choice [ str
619− , escapedChar
620 , smartPunctuation
619 , smartPunctuation
621 , linebreak
620 , linebreak
622 , endline
621 , endline
623 , whitespace
622 , whitespace
624− , str
623+ , rawLaTeXInline'
624+ , escapedChar
625 , charRef
625 , charRef
626 , note
626 , note
627 , inlineNote
627 , inlineNote