Why does a line break inside math mode result in superscripts appearing at the wrong height?

I added a comment to the github issue, but this is definitely a bug in the math layout code. Want to echo that the general solution is to escape the parentheses with backslashes: $ y = \(a x^2 + \ + b x + c\)^2 $ which will avoid creating the LR element that causes the grouping behavior.

1 Like