Skip to content

Commit

Permalink
katex rendering mode changed from mathml to html
Browse files Browse the repository at this point in the history
  • Loading branch information
deepansh96 committed May 11, 2024
1 parent ebe279a commit f93955e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Items/Question/Body.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
Expand All @@ -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);
});
Expand Down

0 comments on commit f93955e

Please sign in to comment.