Markdown: Ensure that expanded latex macros end with space if original did.

Closes #4442.
This commit is contained in:
John MacFarlane committed 2019-07-19 10:32:59 -07:00
1 parent 50885eabde
commit 339392bf54
2 files changed
+19 -1

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
```
% pandoc -f markdown -t latex
\newcommand{\myFruit}{Mango\xspace}
\myFruit is the king of fruits.
^D
\newcommand{\myFruit}{Mango\xspace}
Mango\xspace is the king of fruits.
```