diff --git a/htdocs/themes/math2/system.template b/htdocs/themes/math2/system.template
index 8149427e99..f42ab3687d 100644
--- a/htdocs/themes/math2/system.template
+++ b/htdocs/themes/math2/system.template
@@ -30,10 +30,11 @@
/images/favicon.ico"/>
/themes/math2/math2.css"/>
+/themes/math2/codemirror2/lib/codemirror.css">
/themes/math2/codemirror2/mode/pg/pg.css">
/themes/math2/codemirror2/mode/math/math.css">
-
+-->
/css/tabber.css"/>
diff --git a/htdocs/themes/math3/system.template b/htdocs/themes/math3/system.template
index 18e892e9aa..2263687386 100644
--- a/htdocs/themes/math3/system.template
+++ b/htdocs/themes/math3/system.template
@@ -29,10 +29,11 @@
/images/favicon.ico"/>
/themes/math3/math3.css"/>
+/themes/math3/codemirror2/lib/codemirror.css">
/themes/math3/codemirror2/mode/pg/pg.css">
/themes/math3/codemirror2/mode/math/math.css">
-
+-->
/css/tabber.css"/>