diff options
author | John MacFarlane <jgm@berkeley.edu> | 2018-07-21 22:51:53 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2018-07-21 22:53:04 -0700 |
commit | 6419819b46c0d69c7024ba8aa4a6381cb311341c (patch) | |
tree | 8b3214ce8d2bc69184605d135d04cd71519f37ae /test | |
parent | 748aa920f6cdbe5c7f828a706a048eda8340abc7 (diff) | |
download | pandoc-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.md | 6 |
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","")]] +``` |