From e0290fd18bb523f5f08e2d5f5d2a8b89916654d2 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 31 Oct 2018 21:51:20 -0700 Subject: LaTeX writer: add newline if math ends in a comment. This prevents the closing delimiter from being swalled up in the comment. Closes #4880. --- test/command/4880.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test/command/4880.md (limited to 'test/command/4880.md') diff --git a/test/command/4880.md b/test/command/4880.md new file mode 100644 index 000000000..638e3edee --- /dev/null +++ b/test/command/4880.md @@ -0,0 +1,7 @@ +``` +% pandoc -t latex +$x=y%comment$ +^D +\(x=y%comment +\) +``` -- cgit v1.2.3