Skip to content

Commit f0a4ce0

Browse files
committed
Fix MathJax inlines
1 parent a70e757 commit f0a4ce0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-math/src/MathJaX.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export default function MathJaXFormula(props: MathJaXFormulaProps) {
3939
return;
4040
}
4141

42-
const domNode = MathJax.tex2chtml(formula, { display: inline! });
42+
const domNode = MathJax.tex2chtml(formula, { display: !inline });
4343
setHTML(domNode.outerHTML);
4444
});
4545

0 commit comments

Comments
 (0)