From cba18c19a69d05ecd3e617bcbd74780482bffd7e Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 16 Oct 2017 20:36:37 -0700 Subject: RST writer: don't backslash-escape word-internal punctuation. Closes #3978. --- test/command/3978.md | 6 ++++++ test/writer.rst | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 test/command/3978.md (limited to 'test') 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 and title `__ -`with\_underscore `__ +`with_underscore `__ `Email link `__ -- cgit v1.2.3