Skip to content

Commit

Permalink
RST reader: Allow anonymous form of explicit links.
Browse files Browse the repository at this point in the history
`hello <url>`__
Closes #724.
  • Loading branch information
John MacFarlane committed Jan 26, 2013
1 parent ce4b7fc commit c18fd7e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Text/Pandoc/Readers/RST.hs
Expand Up @@ -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
Expand Down

0 comments on commit c18fd7e

Please sign in to comment.