mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 06:03:45 +01:00
Merge pull request #3733 from overleaf/tm-mathjax-query-param
Add query parameter to MathJax script path GitOrigin-RevId: c4f17505a23f8de4f5f5c7e62f74db930a029c22
This commit is contained in:
@@ -127,7 +127,8 @@ module.exports = function(webRouter, privateApiRouter, publicApiRouter) {
|
||||
|
||||
res.locals.mathJaxPath = `/js/libs/mathjax/MathJax.js?${querystring.stringify(
|
||||
{
|
||||
config: 'TeX-AMS_HTML,Safe'
|
||||
config: 'TeX-AMS_HTML,Safe',
|
||||
v: require('mathjax/package.json').version
|
||||
}
|
||||
)}`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user