aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/command/262.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/command/262.md b/test/command/262.md
index e23e2d866..bda2acb35 100644
--- a/test/command/262.md
+++ b/test/command/262.md
@@ -7,3 +7,20 @@
^D
<p><a href="example.com">hello</a> and <a href="example.com">goodbye</a></p>
```
+
+```
+% pandoc -f rst
+`hello`_ `goodbye`_
+
+.. _hello:
+.. _goodbye:
+
+paragraph
+^D
+<p><a href="#hello">hello</a> <a href="#goodbye">goodbye</a></p>
+<div id="hello">
+<div id="goodbye">
+<p>paragraph</p>
+</div>
+</div>
+```