From ad13189c8f3ce051a29817550f2619c912439edb Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 8 Oct 2017 21:11:58 -0700 Subject: LaTeX reader: don't treat "..." as Quoted. This caused quotes to be omitted in `\texttt` contexts. Closes #3958. However, a better fix would be to modify the --- src/Text/Pandoc/Readers/LaTeX.hs | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/Text') diff --git a/src/Text/Pandoc/Readers/LaTeX.hs b/src/Text/Pandoc/Readers/LaTeX.hs index 9ad4c599f..57db33871 100644 --- a/src/Text/Pandoc/Readers/LaTeX.hs +++ b/src/Text/Pandoc/Readers/LaTeX.hs @@ -659,8 +659,6 @@ doubleQuote = do -- the following is used by babel for localized quotes: <|> quoted' doubleQuoted (try $ sequence [symbol '"', symbol '`']) (void $ try $ sequence [symbol '"', symbol '\'']) - <|> quoted' doubleQuoted ((:[]) <$> symbol '"') - (void $ symbol '"') singleQuote :: PandocMonad m => LP m Inlines singleQuote = do -- cgit v1.2.3