aboutsummaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorPhilip Pesca <ppesca@ucsd.edu>2019-07-24 10:10:36 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2019-07-24 10:10:36 -0700
commit01a52e2300779ed411f9db3bc039656bac1d4699 (patch)
treeb483c07dc34e56de4bc2261343c204469ce0cad0 /test/command
parent060141bf2cb3d09d5d34ba20f5ee35ab9d223c63 (diff)
downloadpandoc-01a52e2300779ed411f9db3bc039656bac1d4699.tar.gz
HTML writer: ensure TeX formulas are rendered correctly (#5658)
The web service passed in to `--webtex` may render formulas using inline or display style by default. Prefixing formulas with the appropriate command ensures they are rendered correctly. This is a followup to the discussion in #5656.
Diffstat (limited to 'test/command')
-rw-r--r--test/command/5655.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/command/5655.md b/test/command/5655.md
index de5a923ae..35987c10a 100644
--- a/test/command/5655.md
+++ b/test/command/5655.md
@@ -9,6 +9,6 @@ $T_n={n+1 \choose 2}$
% pandoc --webtex
$$T_n={n+1 \choose 2}$$
^D
-<p><br /><img style="vertical-align:middle" src="https://latex.codecogs.com/png.latex?T_n%3D%7Bn%2B1%20%5Cchoose%202%7D" alt="T_n={n+1 \choose 2}" title="T_n={n+1 \choose 2}" /><br /></p>
+<p><br /><img style="vertical-align:middle" src="https://latex.codecogs.com/png.latex?%5Cdisplaystyle%20T_n%3D%7Bn%2B1%20%5Cchoose%202%7D" alt="T_n={n+1 \choose 2}" title="T_n={n+1 \choose 2}" /><br /></p>
````