aboutsummaryrefslogtreecommitdiff
path: root/test/command/4877.md
diff options
context:
space:
mode:
Diffstat (limited to 'test/command/4877.md')
-rw-r--r--test/command/4877.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/command/4877.md b/test/command/4877.md
new file mode 100644
index 000000000..070687345
--- /dev/null
+++ b/test/command/4877.md
@@ -0,0 +1,13 @@
+```
+% pandoc -f html -t native
+My <script type="math/tex">\mathcal{D}</script>
+^D
+[Plain [Str "My",Space,Math InlineMath "\\mathcal{D}"]]
+```
+
+```
+% pandoc -f html -t native
+<script type="math/tex; mode=display">\mathcal{D}</script>
+^D
+[Plain [Math DisplayMath "\\mathcal{D}"]]
+```