From 3febd81cbcadf7d36fd4686a5d323b31c44adf3a Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 10 Jun 2019 15:02:48 -0700 Subject: LaTeX writer: Use mbox to get proper behavior inside `\sout`. Closes #5529. --- test/command/5529.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/command/5529.md (limited to 'test/command') 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}}}} +``` -- cgit v1.2.3