From 5a00b79d666a8337727b06350743536372ee7d12 Mon Sep 17 00:00:00 2001 From: Yagnesh Date: Mon, 12 Jun 2023 11:42:09 +0530 Subject: [PATCH] fix: Upgraded Mathjax version from 2.7 to 3.0.1 --- common/templates/mathjax_include.html | 158 ++++++++++++++++++-------- 1 file changed, 108 insertions(+), 50 deletions(-) diff --git a/common/templates/mathjax_include.html b/common/templates/mathjax_include.html index 617ca94d30f8..7b0338722b22 100644 --- a/common/templates/mathjax_include.html +++ b/common/templates/mathjax_include.html @@ -1,11 +1,11 @@ ## mako -## File: templates/mathjax_include.html +## File: templates/mathjax_include.html ## ## Note that this file is only used by LMS. ## MathJax configuration for Studio lives in ## cms/js/require-config.js. -<%page args="disable_fast_preview=True" expression_filter="h"/> +<%page args="disable_fast_preview=True" expression_filter="h" /> ## Avoid loading mathjax if already loaded on the page @@ -27,68 +27,126 @@ %endif %if mathjax_mode is not Undefined and mathjax_mode == 'wiki': - %else: - %endif - - + + + + %endif + + + + + \ No newline at end of file