Small improvement to textile reader fix. Removed 'try'.

This commit is contained in:
mpickering 2014-05-07 13:03:45 +01:00 committed by John MacFarlane
parent 0050b50905
commit f0f88111e6

View file

@ -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 ']'