From 339392bf549a8a02ea17f94c02fb01cf121bc05a Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 19 Jul 2019 10:32:59 -0700 Subject: Markdown: Ensure that expanded latex macros end with space if original did. Closes #4442. --- test/command/4442.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/command/4442.md (limited to 'test/command') 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. +``` -- cgit v1.2.3