Skip to content

Commit ca34855

Browse files
committed
Fix a problem with SVG linebreaking where the lines would get farther and farther apart when there are multiple breaks within an equation.
1 parent bcf7ad1 commit ca34855

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

jax/output/SVG/autoload/multiline.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

unpacked/jax/output/SVG/autoload/multiline.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,7 @@ MathJax.Hub.Register.StartupHook("SVG Jax Ready",function () {
219219
//
220220
// Save the values needed for the future
221221
//
222-
state.d = line.d-(line.y||0);
223-
state.values = values; state.n++;
222+
state.d = line.d; state.values = values; state.n++;
224223
},
225224

226225
/****************************************************************/

0 commit comments

Comments
 (0)