aboutsummaryrefslogtreecommitdiff
path: root/src/Text
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2016-05-31 11:58:40 +0200
committerAlbert Krewinkel <albert@zeitkraut.de>2016-06-05 11:28:57 +0200
commit06dfe3276dcec57d50ecd32d6f0df7269095584c (patch)
treedfa77a67197a83889652d61255e55e77cddc1ad0 /src/Text
parent97f8f4ad4bc190ba0c27713eeea94f661634d418 (diff)
downloadpandoc-06dfe3276dcec57d50ecd32d6f0df7269095584c.tar.gz
Org reader: add semicolon to list of special chars
Semicolons are used as special characters in citations syntax. This ensures the correct parsing of Pandoc-style citations: [prefix; @key; suffix] Previously, parsing would have failed unless there was a space or other special character as the last <prefix> character.
Diffstat (limited to 'src/Text')
-rw-r--r--src/Text/Pandoc/Readers/Org/Inlines.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/Org/Inlines.hs b/src/Text/Pandoc/Readers/Org/Inlines.hs
index 001aeb569..084134004 100644
--- a/src/Text/Pandoc/Readers/Org/Inlines.hs
+++ b/src/Text/Pandoc/Readers/Org/Inlines.hs
@@ -127,7 +127,7 @@ inlines = trimInlinesF . mconcat <$> many1 inline
-- treat these as potentially non-text when parsing inline:
specialChars :: [Char]
-specialChars = "\"$'()*+-,./:<=>[\\]^_{|}~"
+specialChars = "\"$'()*+-,./:;<=>[\\]^_{|}~"
whitespace :: OrgParser (F Inlines)