1
0
Fork 0
mirror of https://github.com/sbrl/Pepperminty-Wiki.git synced 2024-11-25 05:22:59 +00:00

Update MathJax CDN link

This commit is contained in:
Starbeamrainbowlabs 2017-05-13 16:17:17 +01:00
parent d00c6c1b9b
commit c5dbe16222
2 changed files with 4 additions and 1 deletions

View file

@ -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.

View file

@ -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