diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-10-08 21:11:58 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-10-08 21:11:58 -0700 |
commit | ad13189c8f3ce051a29817550f2619c912439edb (patch) | |
tree | d05bacbf219ec6d45ac0d3b1ddcc541c935e6809 /src | |
parent | fdaae5aec5bf31ae2f4fa1612e4263fb91ded4c0 (diff) |
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
Diffstat (limited to 'src')
-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 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 |