MathJax: Ignore pagecolor command
This command was not yet supported. This implements it as a noop. In MathJax it's not really useful to be able to define the background color as sometimes is required in rendered png mode. Bug 35186 Change-Id: If6573901bafd8599a01979bcbff89e52b51e4ffd
This commit is contained in:
parent
f971af901f
commit
5f349cc9da
|
@ -118,8 +118,9 @@ MathJax.Hub.Register.StartupHook("TeX Jax Ready",function () {
|
|||
arcsec: 'NamedFn',
|
||||
arccsc: 'NamedFn',
|
||||
bold: ['Macro','\\boldsymbol'], // boldsymbol
|
||||
href: 'NamedFn', // disable dangerous command
|
||||
style: 'NamedFn' // disable dangerous command
|
||||
href: 'NamedFn', // disable dangerous command
|
||||
style: 'NamedFn', // disable dangerous command
|
||||
pagecolor: ['Macro','',1] // ignore \pagecolor{}
|
||||
}
|
||||
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue