aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-08-29 14:40:04 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2018-08-29 14:40:04 -0700
commit85ed24e849975051f370dd8bf98c6c62ca92447a (patch)
tree1ad39785429e18f78b12fd94e37f62a41b24d411 /test
parent7c0b314cbeeaa1248007c40ac9f0d1b5cc4289da (diff)
downloadpandoc-85ed24e849975051f370dd8bf98c6c62ca92447a.tar.gz
RSTR reader: don't skip link definitions after comments.
Closes #4860.
Diffstat (limited to 'test')
-rw-r--r--test/command/4860.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/command/4860.md b/test/command/4860.md
new file mode 100644
index 000000000..9198f68d7
--- /dev/null
+++ b/test/command/4860.md
@@ -0,0 +1,9 @@
+```
+% pandoc -f rst -t native
+This is broken_.
+
+.. ***** REFERENCES FOLLOW *****
+.. _broken: http://google.com
+^D
+[Para [Str "This",Space,Str "is",Space,Link ("",[],[]) [Str "broken"] ("http://google.com",""),Str "."]]
+```