diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2013-01-25 21:10:02 -0800 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2013-01-25 21:10:02 -0800 |
commit | c18fd7e6436243435d6b21934e943f54509b6e5f (patch) | |
tree | 51a54072b49e2a9d0a3ed7d9189863d1f1ee3bb8 /src/Text | |
parent | ce4b7fc416ebe14fc1f51a6860e15a4d999b9803 (diff) | |
download | pandoc-c18fd7e6436243435d6b21934e943f54509b6e5f.tar.gz |
RST reader: Allow anonymous form of explicit links.
`hello <url>`__
Closes #724.
Diffstat (limited to 'src/Text')
-rw-r--r-- | src/Text/Pandoc/Readers/RST.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Readers/RST.hs b/src/Text/Pandoc/Readers/RST.hs index c7b37066a..c5e2617da 100644 --- a/src/Text/Pandoc/Readers/RST.hs +++ b/src/Text/Pandoc/Readers/RST.hs @@ -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 |