git.iko.soy/typeable/pandoc
on master help sign in
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

commit39e8d8486693029abfef84c45e85416f7c775280 authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> dateSat 24 Jan 2009, 19:59 (18 years ago) parent9da6912
1 file changed+1−1
Text/Pandoc/Readers/LaTeX.hs+1−1
Text/Pandoc/Readers/LaTeX.hs+1−1
@@ -635,7 +635,7 @@ doubleQuoteStart :: CharParser st String
635635doubleQuoteStart = string "``"
636636
637637doubleQuoteEnd :: CharParser st String
638−doubleQuoteEnd = try $ string "''"
638+doubleQuoteEnd = string "\"" <|> try (string "''")
639639
640640ellipses :: GenParser Char st Inline
641641ellipses = try $ string "\\ldots" >> optional (try $ string "{}") >>