aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-05-09 10:37:04 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2018-05-09 10:37:04 -0700
commitd3be567a73478298485f66b2d2af5ca066eae052 (patch)
tree1fca360cc57c07b5e54c97bf8223fee4918b24e4 /test
parent81881ce4708f06ca53088d95ff249b48f2b2e88d (diff)
downloadpandoc-d3be567a73478298485f66b2d2af5ca066eae052.tar.gz
Fix regression with tex math environments in HTML + MathJax.
Closes #4639.
Diffstat (limited to 'test')
-rw-r--r--test/command/4639.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/command/4639.md b/test/command/4639.md
new file mode 100644
index 000000000..c35df1749
--- /dev/null
+++ b/test/command/4639.md
@@ -0,0 +1,10 @@
+```
+% pandoc -t html --mathjax
+\begin{equation}
+ E=mc^2
+\end{equation}
+^D
+<p><span class="math display">\[\begin{equation}
+ E=mc^2
+\end{equation}\]</span></p>
+```