Skip to content
Snippets Groups Projects
Commit d57895f8 authored by Matti Harjula's avatar Matti Harjula
Browse files

Actually, use the same default as Moodle uses for the MathJax CDN.

parent 99accbd9
No related branches found
No related tags found
No related merge requests found
...@@ -190,7 +190,7 @@ function stack_cors_link(string $filename): string { ...@@ -190,7 +190,7 @@ function stack_cors_link(string $filename): string {
*/ */
function stack_get_mathjax_url(): string { function stack_get_mathjax_url(): string {
// TODO: figure out how to support VLE local with CORS. // TODO: figure out how to support VLE local with CORS.
return 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.9/MathJax.js?config=TeX-MML-AM_CHTML'; return 'https://cdn.jsdelivr.net/npm/mathjax@2.7.9/MathJax.js?config=TeX-AMS-MML_HTMLorMML';
} }
/* /*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment