Math typesetting partly broken on Safari

asked 4 years ago

updated 3 years ago

slelievre gravatar image

If I include some math, like x2+y2=z3, in an Ask Sage question or answer, then the post often ends up with an extraneous line break right before each inline math formula, when viewed in Safari on macOS.

For example x2 and y2 and z3 all start new lines, for no good reason. I think this is a recent change.

Here is an earlier version of this same question:

If I include some math in my post, like $x^2 + y^2 = z^3$,
then the post often ends up with extraneous line breaks
right before the math. For example $x^2$ and $y^2$
and $z^3$ all start new lines, for no good reason.
I think this is a recent change.

and a screenshot of how it was rendered in Safari:

Incorrect rendering of an Ask Sage question with MathJax blocks in Safari

A web search for [ mathjax safari newline ] reveals similar questions:

The MathJax issue link suggests that it's been fixed in a more recent MathJax version. Can we update the version of MathJax used on this site?

Preview: (hide)

Comments

Using the Opera browser on macOS 10.14.6 your post displays fine.

slelievre gravatar imageslelievre ( 3 years ago )

I don't know how to tell the difference between a Safari bug and a web page bug which causes it to fail with some browsers.

John Palmieri gravatar imageJohn Palmieri ( 3 years ago )
1

I summarised the comments into the question itself, and removed most of them.

I added a link to this question as a comment to the announcement

slelievre gravatar imageslelievre ( 3 years ago )