summaryrefslogtreecommitdiff
path: root/test/command/9193.md
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2023-11-15 10:06:22 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2023-11-15 10:06:22 -0800
commitcd48bf40597e99bec6419a9a0b49fef46330d56c (patch)
tree06d4e8c22fcd70e3190849139d2b22669f50f758 /test/command/9193.md
parent0283cdc200b7ee44d3abdcc7061c47473ed9fd92 (diff)
Markdown reader: don't change newlines to spaces in math.
Preserve them: otherwise we can get unwanted results if there's a `%` comment. Closes #9193.
Diffstat (limited to 'test/command/9193.md')
-rw-r--r--test/command/9193.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/command/9193.md b/test/command/9193.md
new file mode 100644
index 000000000..3a5a7a941
--- /dev/null
+++ b/test/command/9193.md
@@ -0,0 +1,7 @@
+```
+% pandoc -t native
+$a+%
+b$
+^D
+[ Para [ Math InlineMath "a+%\nb" ] ]
+```