From d7e5af0f00e4f012be9cb33d3ac5f7e50ab2a5c2 Mon Sep 17 00:00:00 2001 From: jorg-vr Date: Tue, 24 Jan 2023 09:58:17 +0100 Subject: [PATCH] Don't process mathjax math in the code editor --- app/assets/javascripts/exercise.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/exercise.ts b/app/assets/javascripts/exercise.ts index d331913ef0..0dc1dc2916 100644 --- a/app/assets/javascripts/exercise.ts +++ b/app/assets/javascripts/exercise.ts @@ -101,7 +101,7 @@ function initMathJax(): void { packages: { "[+]": ["noerrors"] } }, options: { - ignoreHtmlClass: "feedback-table", + ignoreHtmlClass: "feedback-table|tex2jax_ignore", processHtmlClass: "tex2jax_process|annotation user" }, loader: {