aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2021-02-28 09:39:01 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2021-02-28 09:39:01 -0800
commit5e571d963587866957a26d382aeab9935311fb9d (patch)
tree05ce9f1f6d0973642ca7883500c2b333d7e7f63d /src/Text/Pandoc
parent7e83686d31bd1ebf627b843eff6210a636e6f719 (diff)
downloadpandoc-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.hs2
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)