aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2021-01-29 18:29:17 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2021-01-29 18:29:17 -0800
commit9223788a05fe619d567bcbdf4cb31db63de86f32 (patch)
treea1ab1dc4c43e67c7062dc97e5617c725d2d36338 /test
parentd82fe52a02e43d905f34830162def346d851fc5a (diff)
downloadpandoc-9223788a05fe619d567bcbdf4cb31db63de86f32.tar.gz
Markdown writer: handle math right before digit.
We insert an HTML comment to avoid a `$` right before a digit, which pandoc will not recognize as a math delimiter.
Diffstat (limited to 'test')
-rw-r--r--test/command/7058.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/command/7058.md b/test/command/7058.md
new file mode 100644
index 000000000..69e5dd445
--- /dev/null
+++ b/test/command/7058.md
@@ -0,0 +1,6 @@
+```
+% pandoc -f latex -t markdown
+5\(-\)8 \(x\)
+^D
+5$-$`<!-- -->`{=html}8 $x$
+```