Skip to content

Commit ba0fd27

Browse files
committed
Merge pull request #606 from dpvc/issue604
Make sure TeXmathchoice saves the SVG data for its core. Resolves issue...
2 parents 412d366 + a632d33 commit ba0fd27

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

unpacked/extensions/TeX/mathchoice.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,11 @@ MathJax.Hub.Register.StartupHook("TeX Jax Ready",function () {
7575
}
7676
return span;
7777
},
78-
toSVG: function () {return this.Core().toSVG()}
78+
toSVG: function () {
79+
var svg = this.Core().toSVG();
80+
this.SVGsaveData(svg);
81+
return svg;
82+
}
7983
});
8084

8185
MathJax.Hub.Startup.signal.Post("TeX mathchoice Ready");

0 commit comments

Comments
 (0)