aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2009-01-24 19:59:24 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2009-01-24 19:59:24 +0000
commit39e8d8486693029abfef84c45e85416f7c775280 (patch)
tree3964a07bee024e3698ec754239217575a2bae54a
parent9da6912f7ac0f434d4efcf476b70a0feee1c6200 (diff)
downloadpandoc-39e8d8486693029abfef84c45e85416f7c775280.tar.gz
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
-rw-r--r--Text/Pandoc/Readers/LaTeX.hs2
1 files changed, 1 insertions, 1 deletions
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 "{}") >>