From 236896bd10ae8206cb9e187d48dcee15bd797082 Mon Sep 17 00:00:00 2001 From: fiddlosopher Date: Mon, 4 May 2009 00:05:58 +0000 Subject: RST reader: Allow explicit links with spaces in URL: `link `_ git-svn-id: https://pandoc.googlecode.com/svn/trunk@1576 788f1e2b-df1e-0410-8736-df70ead52e1b --- src/Text/Pandoc/Readers/RST.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Text/Pandoc/Readers/RST.hs b/src/Text/Pandoc/Readers/RST.hs index 255054c10..ae025f4ea 100644 --- a/src/Text/Pandoc/Readers/RST.hs +++ b/src/Text/Pandoc/Readers/RST.hs @@ -659,7 +659,7 @@ explicitLink = try $ do notFollowedBy (char '`') -- `` marks start of inline code label' <- manyTill (notFollowedBy (char '`') >> inline) (try (spaces >> char '<')) - src <- manyTill (noneOf ">\n ") (char '>') + src <- manyTill (noneOf ">\n") (char '>') skipSpaces string "`_" return $ Link (normalizeSpaces label') (removeLeadingTrailingSpace src, "") -- cgit v1.2.3