From 37c6f6adfe5f292bccd42046842e5cb2cc7484d0 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 20 Sep 2018 11:15:03 -0700 Subject: RST reader: fix bug with internal link targets. They were gobbling up indented content underneath. Closes #4919. --- test/command/4919.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 test/command/4919.md (limited to 'test/command/4919.md') 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}"]]]] +``` + -- cgit v1.2.3