diff --git a/filter/tex/lib.php b/filter/tex/lib.php index 9a0fe3c9c58..3cb8e5cdd27 100644 --- a/filter/tex/lib.php +++ b/filter/tex/lib.php @@ -84,6 +84,7 @@ function filter_tex_sanitize_formula(string $texexp): string { '\afterassignment', '\expandafter', '\noexpand', '\special', '\let', '\futurelet', '\else', '\fi', '\chardef', '\makeatletter', '\afterground', '\noexpand', '\line', '\mathcode', '\item', '\section', '\mbox', '\declarerobustcommand', + '\ExplSyntaxOn', ]; $allowlist = ['inputenc'];