diff --git a/src/packages/extensions/ts/mathjax/implementation.tsx b/src/packages/extensions/ts/mathjax/implementation.tsx index e188ed835..03ea5a676 100644 --- a/src/packages/extensions/ts/mathjax/implementation.tsx +++ b/src/packages/extensions/ts/mathjax/implementation.tsx @@ -343,7 +343,7 @@ const joinMath = ( }; const getMathNewline = (mathProps: MathProps) => { - return mathProps.useTex && mathProps.mathOnly ? "\\\\" : "\n"; + return mathProps.useTex && mathProps.mathOnly ? "\\newline" : "\n"; }; // This lets math input run across multiple newlines.