aboutsummaryrefslogtreecommitdiff
path: root/test/command/4919.md
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-09-20 11:15:03 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2018-09-20 11:15:03 -0700
commit37c6f6adfe5f292bccd42046842e5cb2cc7484d0 (patch)
tree1f9f4f528fbd4db791eb85276dea8bb274236b1c /test/command/4919.md
parent5b1fdeaf41d6ee4b6b82cbeb4e7f7508182b3566 (diff)
downloadpandoc-37c6f6adfe5f292bccd42046842e5cb2cc7484d0.tar.gz
RST reader: fix bug with internal link targets.
They were gobbling up indented content underneath. Closes #4919.
Diffstat (limited to 'test/command/4919.md')
-rw-r--r--test/command/4919.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/command/4919.md b/test/command/4919.md
new file mode 100644
index 000000000..029d1beff
--- /dev/null
+++ b/test/command/4919.md
@@ -0,0 +1,14 @@
+```
+% pandoc -f rst -t native
+.. _`tgtmath`:
+
+ .. math::
+ :name:
+
+ V = \frac{K}{r^2}
+^D
+[Div ("tgtmath",[],[])
+ [BlockQuote
+ [Para [Math DisplayMath "V = \\frac{K}{r^2}"]]]]
+```
+