From 5e571d963587866957a26d382aeab9935311fb9d Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 28 Feb 2021 09:39:01 -0800 Subject: LaTeX reader: remove two unnecessary parsers in inline. These are handled anyway by regularSymbol. --- src/Text/Pandoc/Readers/LaTeX.hs | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/Text/Pandoc') diff --git a/src/Text/Pandoc/Readers/LaTeX.hs b/src/Text/Pandoc/Readers/LaTeX.hs index 2d1b83486..3935c92ef 100644 --- a/src/Text/Pandoc/Readers/LaTeX.hs +++ b/src/Text/Pandoc/Readers/LaTeX.hs @@ -975,9 +975,7 @@ inline = (mempty <$ comment) <|> doubleQuote <|> singleQuote <|> (str "”" <$ try (symbol '\'' >> symbol '\'')) - <|> (str "”" <$ symbol '”') <|> (str "’" <$ symbol '\'') - <|> (str "’" <$ symbol '’') <|> (str "\160" <$ symbol '~') <|> dollarsMath <|> (guardEnabled Ext_literate_haskell *> symbol '|' *> doLHSverb) -- cgit v1.2.3