aboutsummaryrefslogtreecommitdiff
path: root/test/command/5529.md
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-06-10 15:02:48 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2019-06-10 15:02:48 -0700
commit3febd81cbcadf7d36fd4686a5d323b31c44adf3a (patch)
tree21c5f5dc94417fafefbcbb31e633f4d29037f800 /test/command/5529.md
parent59529e408b87274fb8e0375fa198a6636cb67a11 (diff)
downloadpandoc-3febd81cbcadf7d36fd4686a5d323b31c44adf3a.tar.gz
LaTeX writer: Use mbox to get proper behavior inside `\sout`.
Closes #5529.
Diffstat (limited to 'test/command/5529.md')
-rw-r--r--test/command/5529.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/command/5529.md b/test/command/5529.md
new file mode 100644
index 000000000..fcecd9b1f
--- /dev/null
+++ b/test/command/5529.md
@@ -0,0 +1,10 @@
+```
+% pandoc -t latex
+~~`hello world`~~
+
+~~_`hello world`_~~
+^D
+\sout{\mbox{\texttt{hello\ world}}}
+
+\sout{\emph{\mbox{\texttt{hello\ world}}}}
+```