aboutsummaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2020-04-17 22:42:21 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2020-04-17 22:42:21 -0700
commit9a809d4d01f1a9cba4401e98d95cccf8a0ec7e75 (patch)
treeef09a4a428fb512e7df44142fd56892496f63fdd /test/command
parent0d2b8e3fe1d6a27aac082be7711b7156783b3051 (diff)
downloadpandoc-9a809d4d01f1a9cba4401e98d95cccf8a0ec7e75.tar.gz
Markdown writer: avoid unnecessary escapes before intraword `_`
when `intraword_underscores` extension is enabled. Closes #6296.
Diffstat (limited to 'test/command')
-rw-r--r--test/command/6296.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/command/6296.md b/test/command/6296.md
new file mode 100644
index 000000000..f4ce6b6d5
--- /dev/null
+++ b/test/command/6296.md
@@ -0,0 +1,14 @@
+```
+% pandoc -f native -t markdown
+[Str "_hi_there"]
+^D
+\_hi_there
+```
+
+```
+% pandoc -f native -t markdown-intraword_underscores
+[Str "_hi_there"]
+^D
+\_hi\_there
+```
+