From b94f1e2045d8113f57adabf6c4e475c744a8ce80 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 14 Dec 2017 12:47:15 -0800 Subject: RST reader: more accurate parsing of references. Previously we erroneously included the enclosing backticks in a reference ID (closes #4156). This change also disables interpretation of syntax inside references, as in docutils. So, there is no emphasis in `my *link*`_ --- test/command/4156.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/command/4156.md (limited to 'test/command/4156.md') diff --git a/test/command/4156.md b/test/command/4156.md new file mode 100644 index 000000000..073537d1f --- /dev/null +++ b/test/command/4156.md @@ -0,0 +1,10 @@ +``` +% pandoc -f rst +.. _`SOMEID`: + +foo +^D +
+

foo

+
+``` -- cgit v1.2.3