summaryrefslogtreecommitdiff
path: root/test/command/4589.md
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-04-25 23:04:08 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2018-04-25 23:04:08 -0700
commitaba0f7e063a4ef4eb8bebafc5e7da067ff846030 (patch)
tree241ab5477705b2b37a81a31b10043b3c2eed9721 /test/command/4589.md
parentd0940c6e00ab8be5c40727daa65a5a1387645ace (diff)
Add tests for #4589 and #4594 (currently failing).
Diffstat (limited to 'test/command/4589.md')
-rw-r--r--test/command/4589.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/command/4589.md b/test/command/4589.md
new file mode 100644
index 000000000..ffbe6fe6f
--- /dev/null
+++ b/test/command/4589.md
@@ -0,0 +1,14 @@
+```
+% pandoc -f markdown -t latex
+\newcommand{\one}[1]{#1}
+\newcommand{\two}[1]{#1}
+
+Formatting *is* working **here**. But sticking \one{two }\two{commands}
+together *breaks* formatting.
+^D
+\newcommand{\one}[1]{#1}
+\newcommand{\two}[1]{#1}
+
+Formatting \emph{is} working \textbf{here}. But sticking two commands
+together \emph{breaks} formatting.
+```