diff --git a/filter/tex/lib.php b/filter/tex/lib.php index 12e338569ab..f1c7a3a4d13 100644 --- a/filter/tex/lib.php +++ b/filter/tex/lib.php @@ -70,7 +70,8 @@ function filter_tex_sanitize_formula($texexp) { '\lowercase','\relax','\aftergroup', '\afterassignment','\expandafter','\noexpand','\special', '\let', '\futurelet','\else','\fi','\chardef','\makeatletter','\afterground', - '\noexpand','\line','\mathcode','\item','\section','\mbox','\declarerobustcommand' + '\noexpand','\line','\mathcode','\item','\section','\mbox','\declarerobustcommand', + '\ExplSyntaxOn', ]; $allowlist = ['inputenc'];