ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Fri, 30 Apr 2021 21:57:59 +0200Math typesetting partly broken on Safarihttps://ask.sagemath.org/question/56866/math-typesetting-partly-broken-on-safari/If I include some math, like $x^2 + y^2 = z^3$, 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 $x^2$ and $y^2$ and $z^3$ 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](/upfiles/16197396681649607.png)
A [web search for [ mathjax safari newline ]](https://duckduckgo.com/?q=mathjax+safari+newline) reveals similar questions:
- [MathJax issue 1982: Line break in inline p in Safari only](https://github.com/mathjax/MathJax/issues/1982)
- [Moodle forum: Newline before every MathJax in Safari](https://moodle.org/mod/forum/discuss.php?d=400162)
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?Thu, 29 Apr 2021 22:44:02 +0200https://ask.sagemath.org/question/56866/math-typesetting-partly-broken-on-safari/Comment by slelievre for <p>If I include some math, like $x^2 + y^2 = z^3$, 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.</p>
<p>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.</p>
<p>Here is an earlier version of this same question:</p>
<pre><code>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.
</code></pre>
<p>and a screenshot of how it was rendered in Safari:</p>
<p><img src="/upfiles/16197396681649607.png" alt="Incorrect rendering of an Ask Sage question with MathJax blocks in Safari"></p>
<p>A <a href="https://duckduckgo.com/?q=mathjax+safari+newline">web search for [ mathjax safari newline ]</a> reveals similar questions:</p>
<ul>
<li><a href="https://github.com/mathjax/MathJax/issues/1982">MathJax issue 1982: Line break in inline p in Safari only</a></li>
<li><a href="https://moodle.org/mod/forum/discuss.php?d=400162">Moodle forum: Newline before every MathJax in Safari</a></li>
</ul>
<p>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?</p>
https://ask.sagemath.org/question/56866/math-typesetting-partly-broken-on-safari/?comment=56890#post-id-56890I 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
- [Ask Sage has a new home](https://ask.sagemath.org/question/55939)Fri, 30 Apr 2021 21:57:59 +0200https://ask.sagemath.org/question/56866/math-typesetting-partly-broken-on-safari/?comment=56890#post-id-56890Comment by slelievre for <p>If I include some math, like $x^2 + y^2 = z^3$, 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.</p>
<p>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.</p>
<p>Here is an earlier version of this same question:</p>
<pre><code>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.
</code></pre>
<p>and a screenshot of how it was rendered in Safari:</p>
<p><img src="/upfiles/16197396681649607.png" alt="Incorrect rendering of an Ask Sage question with MathJax blocks in Safari"></p>
<p>A <a href="https://duckduckgo.com/?q=mathjax+safari+newline">web search for [ mathjax safari newline ]</a> reveals similar questions:</p>
<ul>
<li><a href="https://github.com/mathjax/MathJax/issues/1982">MathJax issue 1982: Line break in inline p in Safari only</a></li>
<li><a href="https://moodle.org/mod/forum/discuss.php?d=400162">Moodle forum: Newline before every MathJax in Safari</a></li>
</ul>
<p>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?</p>
https://ask.sagemath.org/question/56866/math-typesetting-partly-broken-on-safari/?comment=56877#post-id-56877Using the Opera browser on macOS 10.14.6 your post displays fine.Fri, 30 Apr 2021 10:34:39 +0200https://ask.sagemath.org/question/56866/math-typesetting-partly-broken-on-safari/?comment=56877#post-id-56877Comment by John Palmieri for <p>If I include some math, like $x^2 + y^2 = z^3$, 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.</p>
<p>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.</p>
<p>Here is an earlier version of this same question:</p>
<pre><code>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.
</code></pre>
<p>and a screenshot of how it was rendered in Safari:</p>
<p><img src="/upfiles/16197396681649607.png" alt="Incorrect rendering of an Ask Sage question with MathJax blocks in Safari"></p>
<p>A <a href="https://duckduckgo.com/?q=mathjax+safari+newline">web search for [ mathjax safari newline ]</a> reveals similar questions:</p>
<ul>
<li><a href="https://github.com/mathjax/MathJax/issues/1982">MathJax issue 1982: Line break in inline p in Safari only</a></li>
<li><a href="https://moodle.org/mod/forum/discuss.php?d=400162">Moodle forum: Newline before every MathJax in Safari</a></li>
</ul>
<p>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?</p>
https://ask.sagemath.org/question/56866/math-typesetting-partly-broken-on-safari/?comment=56886#post-id-56886I 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.Fri, 30 Apr 2021 19:21:42 +0200https://ask.sagemath.org/question/56866/math-typesetting-partly-broken-on-safari/?comment=56886#post-id-56886