mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-12-03 19:56:55 +00:00
Merge "MathJax: Ignore pagecolor command"
This commit is contained in:
commit
4aa2741e8f
3
modules/MathJax/extensions/TeX/texvc.js
vendored
3
modules/MathJax/extensions/TeX/texvc.js
vendored
|
@ -135,7 +135,8 @@ MathJax.Hub.Register.StartupHook("TeX Jax Ready",function () {
|
||||||
arccsc: 'NamedFn',
|
arccsc: 'NamedFn',
|
||||||
bold: ['Macro','\\boldsymbol'], // boldsymbol
|
bold: ['Macro','\\boldsymbol'], // boldsymbol
|
||||||
href: 'NamedFn', // disable dangerous command
|
href: 'NamedFn', // disable dangerous command
|
||||||
style: 'NamedFn' // disable dangerous command
|
style: 'NamedFn', // disable dangerous command
|
||||||
|
pagecolor: ['Macro','',1] // ignore \pagecolor{}
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue