summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-10-16 20:36:37 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2017-10-16 20:39:19 -0700
commitcba18c19a69d05ecd3e617bcbd74780482bffd7e (patch)
tree4df636144bd1c97ccee5a0e4b54bc2193d1a2140 /test
parentd8804f4747b0214a3aca45ecdf6cb2f6a9d09646 (diff)
RST writer: don't backslash-escape word-internal punctuation.
Closes #3978.
Diffstat (limited to 'test')
-rw-r--r--test/command/3978.md6
-rw-r--r--test/writer.rst2
2 files changed, 7 insertions, 1 deletions
diff --git a/test/command/3978.md b/test/command/3978.md
new file mode 100644
index 000000000..2399ae6e6
--- /dev/null
+++ b/test/command/3978.md
@@ -0,0 +1,6 @@
+```
+% pandoc -t rst
+foo_bar*baz
+^D
+foo_bar*baz
+```
diff --git a/test/writer.rst b/test/writer.rst
index e81e79f3f..def149feb 100644
--- a/test/writer.rst
+++ b/test/writer.rst
@@ -772,7 +772,7 @@ Just a `URL </url/>`__.
`URL and title </url/>`__
-`with\_underscore </url/with_underscore>`__
+`with_underscore </url/with_underscore>`__
`Email link <mailto:nobody@nowhere.net>`__