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 646d94a6c1
commit 62b26c73eb

View File

@@ -40,6 +40,7 @@ export const loadMathJax = async (options?: {
'[-]': [
'html', // avoid creating HTML elements/attributes
'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,