From 9a809d4d01f1a9cba4401e98d95cccf8a0ec7e75 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 17 Apr 2020 22:42:21 -0700 Subject: Markdown writer: avoid unnecessary escapes before intraword `_` when `intraword_underscores` extension is enabled. Closes #6296. --- test/command/6296.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 test/command/6296.md (limited to 'test/command') 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 +``` + -- cgit v1.2.3