8
$\begingroup$

This is sort of a reopening of the bug reported by Najib Idrissi here.

The Common-HTML render does not break lines.

enter image description here

Compare this to the HTML-CSS output of the same code.

enter image description here

You could imagine how long the single-line output was.

(Both were taken from this answer, in Firefox 43 on Arch Linux 64bit.)

$\endgroup$
  • 1
    $\begingroup$ Ah, I have felt compelled to edit a couple of questions where this was happening, using the align* environment to manually force line breaks. I did not realize it was a consequence of the newer rendering mechanism. $\endgroup$ – hardmath Jan 31 '16 at 10:56
  • 3
    $\begingroup$ That's probably not a terrible idea in general. The align environments offer better control over when and how the lines are broken. $\endgroup$ – Asaf Karagila Jan 31 '16 at 11:07
  • $\begingroup$ I saw an example in a comment yesterday, where the situation is worse (surprise). Then, scrolling isn't even an option. $\endgroup$ – pjs36 Jan 31 '16 at 14:49
  • $\begingroup$ @pjs36: The breakage of comments with excessively wide MathJax formulas is a different bug (although, obviously, this bug makes it worse). I have a user script that fixes it, among other things. $\endgroup$ – Ilmari Karonen Feb 7 '16 at 16:42
  • $\begingroup$ @Ilmari: Not necessarily, though. $\endgroup$ – Asaf Karagila Feb 7 '16 at 16:44
5
$\begingroup$

The issue, here, is that MSE hasn't configured CommonHTML to do automatic line breaking. They need to add

MathJax.Hub.Config({
  CommonHTML: {
    linebreaks; {automatic: true}
  }
});

in order for the line breaking to occur.

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .