aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-07-21 22:51:53 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2018-07-21 22:53:04 -0700
commit6419819b46c0d69c7024ba8aa4a6381cb311341c (patch)
tree8b3214ce8d2bc69184605d135d04cd71519f37ae /test
parent748aa920f6cdbe5c7f828a706a048eda8340abc7 (diff)
downloadpandoc-6419819b46c0d69c7024ba8aa4a6381cb311341c.tar.gz
RST reader: fix double-link bug.
Link labels containing raw URLs were parsed as autolinks, but links within links are not allowed. Closes #4581.
Diffstat (limited to 'test')
-rw-r--r--test/command/4581.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/command/4581.md b/test/command/4581.md
new file mode 100644
index 000000000..b38ebaaf0
--- /dev/null
+++ b/test/command/4581.md
@@ -0,0 +1,6 @@
+```
+% pandoc -f rst -t native
+`http://loc <http://loc>`__
+^D
+[Para [Link ("",[],[]) [Str "http://loc"] ("http://loc","")]]
+```