aboutsummaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-09-27 20:42:04 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2017-09-27 20:42:04 -0700
commit2314534d4da815fa23f622d43a8d7a2c8902ee8e (patch)
tree7900d6b8d515a20c7edf8ed669cb33ae6f31add6 /test/command
parent394b1985b13780310fd2b3bec7ca9f635a3221cb (diff)
downloadpandoc-2314534d4da815fa23f622d43a8d7a2c8902ee8e.tar.gz
RST writer: add header anchors when header has non-standard id.
Closes #3937.
Diffstat (limited to 'test/command')
-rw-r--r--test/command/3937.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/command/3937.md b/test/command/3937.md
new file mode 100644
index 000000000..1d5e4238a
--- /dev/null
+++ b/test/command/3937.md
@@ -0,0 +1,13 @@
+```
+% pandoc -t rst
+# My Great Section {#mysection}
+# Other section
+^D
+.. mysection:
+
+My Great Section
+================
+
+Other section
+=============
+```