Skip to content

Commit 937cbd4

Browse files
committed
Properly handle pre-spacing for elements with linebreaks in SVG output. Resolves issue #1866.
1 parent af09e53 commit 937cbd4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,7 @@ MathJax.Hub.Register.StartupHook("SVG Jax Ready",function () {
310310
slice.Clean();
311311
if (this.href) {this.SVGaddHref(slice)}
312312
this.SVGhandleColor(slice);
313+
if (start.length == 0) this.SVGhandleSpace(slice);
313314
svg.Add(slice,svg.w,0,true);
314315
return slice;
315316
},

0 commit comments

Comments
 (0)