MDL-76688 filter_text: prevent LaTeX3 syntax
This commit is contained in:
+2
-1
@@ -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'];
|
||||
|
||||
Reference in New Issue
Block a user