diff --git a/Changelog.md b/Changelog.md index f5e5a13..e1a2920 100755 --- a/Changelog.md +++ b/Changelog.md @@ -5,6 +5,9 @@ ### Added - Added stacked bar to help you visualise what's taking up all the space in your wiki +### Changed + - Updated MathJax CDN link, as cdn.mathjax.org is being retired ([source](https://www.mathjax.org/cdn-shutting-down/)). + ### Fixed - Fixed error image generation in the image previewer under certain conditions. diff --git a/core.php b/core.php index 316f00b..f77fa20 100644 --- a/core.php +++ b/core.php @@ -1238,7 +1238,7 @@ class page_renderer // Math rendering support if(!empty($settings->enable_math_rendering)) { - page_renderer::AddJSLink("https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML"); + page_renderer::AddJSLink("https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-MML-AM_CHTML"); } // alt+enter suport in the search box page_renderer::AddJSSnippet('// Alt + Enter support in the top search box