From d11e17c68bd82916cbf182acab7c827756464b0c Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Wed, 22 Mar 2023 22:23:12 -0400 Subject: [PATCH] fix: Remove mathml rendering, closes #5080 --- shared/editor/plugins/Math.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/shared/editor/plugins/Math.ts b/shared/editor/plugins/Math.ts index 9f0878ca8..22856d1f6 100644 --- a/shared/editor/plugins/Math.ts +++ b/shared/editor/plugins/Math.ts @@ -31,7 +31,13 @@ export function createMathView(displayMode: boolean) { node, view, getPos as () => number, - { katexOptions: { displayMode, macros: pluginState.macros } }, + { + katexOptions: { + displayMode, + output: "html", + macros: pluginState.macros, + }, + }, MATH_PLUGIN_KEY, () => { nodeViews.splice(nodeViews.indexOf(nodeView));