diff options
author | John MacFarlane <jgm@berkeley.edu> | 2019-07-19 10:32:59 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-07-19 10:32:59 -0700 |
commit | 339392bf549a8a02ea17f94c02fb01cf121bc05a (patch) | |
tree | 952220765c538c82a8442b7b9fd3124686d90163 /test/command | |
parent | 50885eabde6e9ba524d74a234154766f4c522627 (diff) | |
download | pandoc-339392bf549a8a02ea17f94c02fb01cf121bc05a.tar.gz |
Markdown: Ensure that expanded latex macros end with space if original did.
Closes #4442.
Diffstat (limited to 'test/command')
-rw-r--r-- | test/command/4442.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/command/4442.md b/test/command/4442.md new file mode 100644 index 000000000..8574fe759 --- /dev/null +++ b/test/command/4442.md @@ -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. +``` |