This answer appeared in HNQ and has unwanted line breaks in the LaTeX formulas as you can see. The author of the answer confirms that the breaks are not intended.
For some reason the issue disappears when the answer is opened for editing.
Meta Stack Exchange is a question and answer site for meta-discussion of the Stack Exchange family of Q&A websites. It only takes a minute to sign up.Sign up to join this community
The issue is that the escaped dollar sign, ["backslash"$], in math mode gets translated to ["backslashBackslashBackslash"$] in the source code once published (see Ak's comment). Subsequently, ["backslashBackslash"] causes a line break. The issue is only present after a publish, and not in the immediate preview rendering window before a publish.
I have resolved the issue by not escaping the dollar sign. The inconsistency bug between rendering preview and published latex code is still present.
That is, the symptoms have been resolved by changing $$ L_1=L_2=["Backslash"]$1.0. $$
into $$ L_1=L_2=$1.0. $$