aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-10-08 21:11:58 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2017-10-08 21:11:58 -0700
commitad13189c8f3ce051a29817550f2619c912439edb (patch)
treed05bacbf219ec6d45ac0d3b1ddcc541c935e6809 /src
parentfdaae5aec5bf31ae2f4fa1612e4263fb91ded4c0 (diff)
downloadpandoc-ad13189c8f3ce051a29817550f2619c912439edb.tar.gz
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.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 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