From f93955ecd814938294ece63367ba8f1279fcba5f Mon Sep 17 00:00:00 2001 From: Deepansh Mathur Date: Sun, 12 May 2024 04:20:47 +0530 Subject: [PATCH] katex rendering mode changed from mathml to html --- src/components/Items/Question/Body.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Items/Question/Body.vue b/src/components/Items/Question/Body.vue index f3a40032..81dab1af 100644 --- a/src/components/Items/Question/Body.vue +++ b/src/components/Items/Question/Body.vue @@ -273,7 +273,7 @@ export default { latexSections.forEach((latexSection) => { const formattedLatex = katex.renderToString(latexSection.slice(2, -2), { throwOnError: false, - output: "mathml", + output: "html", }); output = output.replace(latexSection, formattedLatex); }); @@ -293,7 +293,7 @@ export default { latexSections.forEach((latexSection) => { const formattedLatex = katex.renderToString(latexSection.slice(2, -2), { throwOnError: false, - output: "mathml", + output: "html", }); output = output.replace(latexSection, formattedLatex); });