RST reader: Allow anonymous form of explicit links.
`hello <url>`__
Closes #724.
commitc18fd7e6436243435d6b21934e943f54509b6e5f
authorJohn MacFarlane <fiddlosopher@gmail.com>
dateFri 25 Jan 2013, 21:10 (14 years ago)
parentce4b7fc
src/Text/Pandoc/Readers/RST.hs+1
@@ -962,6 +962,7 @@ explicitLink = try $ do
962962 src <- manyTill (noneOf ">\n") (char '>')
963963 skipSpaces
964964 string "`_"
965+ optional $ char '_' -- anonymous form
965966 return $ B.link (escapeURI $ trim src) "" label'
966967
967968referenceLink :: RSTParser Inlines