diff options
| author | Christoffer Sawicki <christoffer.sawicki@gmail.com> | 2011-06-14 18:11:16 +0200 |
|---|---|---|
| committer | Christoffer Sawicki <christoffer.sawicki@gmail.com> | 2011-07-10 16:30:14 +0200 |
| commit | 8fa4e8bff1a59a734721580f7a292e448d5a335f (patch) | |
| tree | fcf9267f930fabd13c93ac794e3c66f84103e09c /src | |
| parent | cda9d2a655f29f0b6c92c2a0e2c4a13010bbfba8 (diff) | |
| download | pandoc-8fa4e8bff1a59a734721580f7a292e448d5a335f.tar.gz | |
Textile reader: Make it possible to have colons after links.
Diffstat (limited to 'src')
| -rw-r--r-- | src/Text/Pandoc/Readers/Textile.hs | 2 |
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. |
