mirror of
https://github.com/moodle/moodle.git
synced 2025-04-06 00:42:44 +02:00
LaTeX documents have a preamble section and admins can use a \newcommand statement to define new commands there (or to give an alias to another command). This commit makes sure no blocked command can escape sanitization by being used in a new seemingly harmless command that is defined in the LaTeX preamble.