diff options
author | John MacFarlane <jgm@berkeley.edu> | 2021-02-28 09:39:01 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2021-02-28 09:39:01 -0800 |
commit | 5e571d963587866957a26d382aeab9935311fb9d (patch) | |
tree | 05ce9f1f6d0973642ca7883500c2b333d7e7f63d /src/Text/Pandoc | |
parent | 7e83686d31bd1ebf627b843eff6210a636e6f719 (diff) | |
download | pandoc-5e571d963587866957a26d382aeab9935311fb9d.tar.gz |
LaTeX reader: remove two unnecessary parsers in inline.
These are handled anyway by regularSymbol.
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r-- | src/Text/Pandoc/Readers/LaTeX.hs | 2 |
1 files changed, 0 insertions, 2 deletions
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) |