aboutsummaryrefslogtreecommitdiff
path: root/test/command/4880.md
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-10-31 21:51:20 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2018-10-31 21:51:20 -0700
commite0290fd18bb523f5f08e2d5f5d2a8b89916654d2 (patch)
tree87f7df3c0a76da0bdfd457652951701e2ef7fe34 /test/command/4880.md
parentffd3aa4f090f9add3521ce88f01b96518489d49c (diff)
downloadpandoc-e0290fd18bb523f5f08e2d5f5d2a8b89916654d2.tar.gz
LaTeX writer: add newline if math ends in a comment.
This prevents the closing delimiter from being swalled up in the comment. Closes #4880.
Diffstat (limited to 'test/command/4880.md')
-rw-r--r--test/command/4880.md7
1 files changed, 7 insertions, 0 deletions
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
+\)
+```