RST reader: Allow anonymous form of explicit links.

`hello <url>`__
Closes #724.
This commit is contained in:
John MacFarlane 2013-01-25 21:10:02 -08:00
parent ce4b7fc416
commit c18fd7e643

View file

@ -962,6 +962,7 @@ explicitLink = try $ do
src <- manyTill (noneOf ">\n") (char '>')
skipSpaces
string "`_"
optional $ char '_' -- anonymous form
return $ B.link (escapeURI $ trim src) "" label'
referenceLink :: RSTParser Inlines