aboutsummaryrefslogtreecommitdiff
path: root/src/Text
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2011-07-11 08:31:29 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2011-07-11 08:31:29 -0700
commitb30afc2009bf22d49ceaadf1b7b94c298386c89a (patch)
tree02028c0dffdee270fba594cb5b53cba89f5827ec /src/Text
parentc83b578f58df11354769eac945aaab456f416a39 (diff)
parent8fa4e8bff1a59a734721580f7a292e448d5a335f (diff)
downloadpandoc-b30afc2009bf22d49ceaadf1b7b94c298386c89a.tar.gz
Merge pull request #273 from qerub/master
Textile reader: Make it possible to have colons after links.
Diffstat (limited to 'src/Text')
-rw-r--r--src/Text/Pandoc/Readers/Textile.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/Textile.hs b/src/Text/Pandoc/Readers/Textile.hs
index 19357b343..12d299aa4 100644
--- a/src/Text/Pandoc/Readers/Textile.hs
+++ b/src/Text/Pandoc/Readers/Textile.hs
@@ -465,7 +465,7 @@ link :: GenParser Char ParserState Inline
link = try $ do
name <- surrounded (char '"') inline
char ':'
- url <- manyTill (anyChar) (lookAhead $ (space <|> try (oneOf ".;," >> (space <|> newline))))
+ url <- manyTill (anyChar) (lookAhead $ (space <|> try (oneOf ".;,:" >> (space <|> newline))))
return $ Link name (url, "")
-- | Detect plain links to http or email.