MDL-76688 filter_text: prevent LaTeX3 syntax

This commit is contained in:
Petr Skoda
2023-05-08 10:11:55 +02:00
parent 929ad63114
commit 8a6c536b29
+1
View File
@@ -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'];