mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-24 15:44:59 +08:00
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
This commit is contained in:
@@ -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 "{}") >>
|
||||
|
||||
Reference in New Issue
Block a user