5
$\begingroup$

Long, broken MathJax expressions seem to break the formatting of all comments on a post, causing them to spill to far over to the right. In addition to making the comments hard to read, it can make the comments impossible to edit or delete, since the edit/delete buttons are pushed over past where the browser thinks the comment ends. This answer provides an example:

broken comments

If I move my mouse over to "edit" or the "x", they disappear before I can click on them. This has been observed by at least one other user, who brought the issue to my attention.

In addition, a similar problem seems to happen with overly-long code blocks in mod messages, breaking all the messages in a conversation. Here is an admin-only link to an example; I'd appreciate it if the devs would check this out.

$\endgroup$
9
  • $\begingroup$ Here's a copy of the bad code from that comment: $$f(z)=-\frac{1-iz\sqrt3}{2^{2/3}\sqrt[3]{-z+i\sqrt3}}-\frac12\sqrt[3]{\frac12\l‌​eft(-1+i\sqrt3\right)}\left(1+\sqrt3\z^{2/5}right)$$ And now let me write a very long sentence bla bla blatibitly bla bluuu (and some text) $\endgroup$
    – Asaf Karagila Mod
    May 5, 2014 at 19:58
  • $\begingroup$ Testing with a looooooooooooooooooooooooooooooooooong comment to make sure that comments on this post are also broken. $\endgroup$ May 5, 2014 at 19:59
  • $\begingroup$ There. My comment should be a good testing area now. $\endgroup$
    – Asaf Karagila Mod
    May 5, 2014 at 19:59
  • $\begingroup$ This is related to, if not a duplicate of, this question, which is related to this question. $\endgroup$
    – robjohn Mod
    May 5, 2014 at 21:28
  • $\begingroup$ I just noted that the comment can be removed in the mobile SE version. I'll leave it there though for debugging purposes. $\endgroup$
    – Daniel R
    May 6, 2014 at 7:34
  • $\begingroup$ Some kind of workaround, showing how to delete a comment, was posted by Willie Wong in his naswer here: meta.math.stackexchange.com/questions/2652/… $\endgroup$ May 6, 2014 at 8:53
  • 2
    $\begingroup$ @MartinSleziak I think that math scaling thingie only works on rendered MathJax. $\endgroup$
    – Daniel R
    May 6, 2014 at 9:04
  • $\begingroup$ @DanielR You are correct, I did not remember that post correctly. (I thought it was the same problem as here.) $\endgroup$ May 6, 2014 at 11:13
  • $\begingroup$ Same issue as this report on meta.SE and this one on meta.stats.SE. There's a client-side CSS workaround included in SOUP. $\endgroup$ May 7, 2014 at 13:00

2 Answers 2

2
$\begingroup$

One trick to overcome this is to use the developer tools to make the MathJax span go away (e.g. "delete node" over that faulty part).

Then everything is almost fine, and you can find the [x] or the [edit] buttons once again.

$\endgroup$
2
  • 1
    $\begingroup$ Thanks for the tip, that should indeed let me fix this particular problem. But I'd prefer that the devs fix the underlying issue, so I'm leaving the comment up for now. $\endgroup$ May 5, 2014 at 20:00
  • $\begingroup$ Sure thing, I agree there's a bigger problem here. $\endgroup$
    – Asaf Karagila Mod
    May 5, 2014 at 20:00
0
$\begingroup$

Not a problem on my computer: Ubuntu 12.04 LTS, Firefox v29.

$\endgroup$

You must log in to answer this question.

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