git.iko.soy/typeable/pandoc
on master help sign in
LaTeX reader: remove two unnecessary parsers in inline.

These are handled anyway by regularSymbol.

commit5e571d963587866957a26d382aeab9935311fb9d authorJohn MacFarlane <jgm@berkeley.edu> dateSun 28 Feb 2021, 09:39 (6 years ago) parent7e83686
1 file changed−2
src/Text/Pandoc/Readers/LaTeX.hs−2
src/Text/Pandoc/Readers/LaTeX.hs−2
@@ -975,9 +975,7 @@ inline = (mempty <$ comment)
975975 <|> doubleQuote
976976 <|> singleQuote
977977 <|> (str "”" <$ try (symbol '\'' >> symbol '\''))
978− <|> (str "”" <$ symbol '”')
979978 <|> (str "’" <$ symbol '\'')
980− <|> (str "’" <$ symbol '’')
981979 <|> (str "\160" <$ symbol '~')
982980 <|> dollarsMath
983981 <|> (guardEnabled Ext_literate_haskell *> symbol '|' *> doLHSverb)