mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-12-02 19:26:36 +00:00
Merge "MathJax: Ignore pagecolor command"
This commit is contained in:
commit
4aa2741e8f
5
modules/MathJax/extensions/TeX/texvc.js
vendored
5
modules/MathJax/extensions/TeX/texvc.js
vendored
|
@ -134,8 +134,9 @@ MathJax.Hub.Register.StartupHook("TeX Jax Ready",function () {
|
||||||
arcsec: 'NamedFn',
|
arcsec: 'NamedFn',
|
||||||
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