From 39e8d8486693029abfef84c45e85416f7c775280 Mon Sep 17 00:00:00 2001 From: fiddlosopher Date: Sat, 24 Jan 2009 19:59:24 +0000 Subject: Allow " as well as '' to end a latex double-quote. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1527 788f1e2b-df1e-0410-8736-df70ead52e1b --- Text/Pandoc/Readers/LaTeX.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Text/Pandoc') diff --git a/Text/Pandoc/Readers/LaTeX.hs b/Text/Pandoc/Readers/LaTeX.hs index f35ab4f29..9ba5bf372 100644 --- a/Text/Pandoc/Readers/LaTeX.hs +++ b/Text/Pandoc/Readers/LaTeX.hs @@ -635,7 +635,7 @@ doubleQuoteStart :: CharParser st String doubleQuoteStart = string "``" doubleQuoteEnd :: CharParser st String -doubleQuoteEnd = try $ string "''" +doubleQuoteEnd = string "\"" <|> try (string "''") ellipses :: GenParser Char st Inline ellipses = try $ string "\\ldots" >> optional (try $ string "{}") >> -- cgit v1.2.3