aboutsummaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorLila <lila91142@gmail.com>2020-05-19 07:45:44 +0200
committerGitHub <noreply@github.com>2020-05-18 22:45:44 -0700
commitf4185fcef0aa5c00e37a1bf8bbc8b8c6459fffe7 (patch)
tree4a09047038b339afef449f0b2b0591271afe0087 /test/command
parent57fa394eb0afbc8368091b9c90e132e29e2b72aa (diff)
downloadpandoc-f4185fcef0aa5c00e37a1bf8bbc8b8c6459fffe7.tar.gz
Use CSS in favor of <br> for display math (#6372)
Some CSS to ensure that display math is displayed centered and on a new line is now included in the default HTML-based templates; this may be overridden if the user wants a different behavior.
Diffstat (limited to 'test/command')
-rw-r--r--test/command/5655.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/command/5655.md b/test/command/5655.md
index 35987c10a..692009562 100644
--- a/test/command/5655.md
+++ b/test/command/5655.md
@@ -2,13 +2,13 @@
% pandoc --webtex
$T_n={n+1 \choose 2}$
^D
-<p><img style="vertical-align:middle" src="https://latex.codecogs.com/png.latex?%5Ctextstyle%20T_n%3D%7Bn%2B1%20%5Cchoose%202%7D" alt="T_n={n+1 \choose 2}" title="T_n={n+1 \choose 2}" /></p>
+<p><img style="vertical-align:middle" src="https://latex.codecogs.com/png.latex?%5Ctextstyle%20T_n%3D%7Bn%2B1%20%5Cchoose%202%7D" alt="T_n={n+1 \choose 2}" title="T_n={n+1 \choose 2}" class="math inline" /></p>
````
````
% pandoc --webtex
$$T_n={n+1 \choose 2}$$
^D
-<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>
+<p><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}" class="math display" /></p>
````