Merge pull request #18812 from overleaf/mj-mathjax-unicode

[web] Disable mathjax unicode package

GitOrigin-RevId: 0c42a7a531576af35c31377068763bee4674394d
This commit is contained in:
John Lees-Miller 2024-06-08 11:10:50 +01:00 committed by Copybot
parent a26e3d3376
commit 05ac4b956d

View file

@ -40,6 +40,7 @@ export const loadMathJax = async (options?: {
'[-]': [ '[-]': [
'html', // avoid creating HTML elements/attributes 'html', // avoid creating HTML elements/attributes
'require', // prevent loading disabled packages 'require', // prevent loading disabled packages
'unicode', // Prevent CSS injection https://github.com/mathjax/MathJax/issues/3129 / https://github.com/mathjax/MathJax/issues/3241
], ],
}, },
processEscapes: true, processEscapes: true,