RST reader: Allow anonymous form of explicit links.
`hello <url>`__ Closes #724.
This commit is contained in:
parent
ce4b7fc416
commit
c18fd7e643
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue