We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85b05d1 commit b590d93Copy full SHA for b590d93
1 file changed
lib/main.js
@@ -473,7 +473,9 @@ function ConfigureMathJax() {
473
}
474
if (MathJaxConfig) {
475
adjustArrays(MathJaxConfig);
476
- Insert(window.MathJax,MathJaxConfig);
+ // merge the defaults into the user configuration (to sanitize)
477
+ var currentMathJax = Insert({},window.MathJax);
478
+ window.MathJax = Insert(Insert({},MathJaxConfig),currentMathJax);
479
480
481
0 commit comments