diff --git a/filter/tex/lib.php b/filter/tex/lib.php index a4f8bba078c..5c4d4af2ff4 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'];