aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormpickering <matthewtpickering@gmail.com>2014-05-07 13:03:45 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2014-05-07 09:48:48 -0700
commitf0f88111e6597ade7e771457fc1b81bcc9a6d974 (patch)
tree86063f1fec27bb66a691fd2698cd6c24f815f561
parent0050b509052ff81ba021b98fdbc573d3475ed74c (diff)
downloadpandoc-f0f88111e6597ade7e771457fc1b81bcc9a6d974.tar.gz
Small improvement to textile reader fix. Removed 'try'.
-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 f7c87ab5a..9ee34caa5 100644
--- a/src/Text/Pandoc/Readers/Textile.hs
+++ b/src/Text/Pandoc/Readers/Textile.hs
@@ -513,7 +513,7 @@ link = try $ do
char '"' *> notFollowedBy (oneOf " \t\n\r")
attr <- attributes
name <- trimInlines . mconcat <$>
- withQuoteContext InDoubleQuote (many1Till inline (try (char '"')))
+ withQuoteContext InDoubleQuote (many1Till inline (char '"'))
char ':'
let stop = if bracketed
then char ']'