aboutsummaryrefslogtreecommitdiff
path: root/test/command/11384.md
diff options
context:
space:
mode:
Diffstat (limited to 'test/command/11384.md')
-rw-r--r--test/command/11384.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/command/11384.md b/test/command/11384.md
new file mode 100644
index 000000000..853068799
--- /dev/null
+++ b/test/command/11384.md
@@ -0,0 +1,17 @@
+```
+% pandoc -t markdown -f native
+[ Para [ Math DisplayMath "\ne = mc^2\n" ] ]
+^D
+$$
+e = mc^2
+$$
+```
+
+But we need to collapse spaces around inline math:
+
+```
+% pandoc -t markdown -f native
+[ Para [ Math InlineMath "\ne=mc\n" ]]
+^D
+$e=mc$
+```