[DEV-8571] Update the MathJax CDN

Merge branch 'jira-8571' into master

* jira-8571:
  [DEV-8571] Update the MathJax CDN
master
Joseph Frazer 2020-11-03 13:16:01 -05:00
commit c55564e076
3 changed files with 9 additions and 3 deletions

View File

@ -13,6 +13,10 @@ TAME developers: Add new changes under a "NEXT" heading as part of the
commits that introduce the changes. To make a new release, run
`tools/mkrelease`, which will handle updating the heading for you.
NEXT
====================
- Update the CDN used to get MathJax.
v17.6.2 (2020-10-01)
====================
- Optionally include a "program.mk" file if it is present in the project's root

View File

@ -45,7 +45,7 @@ xsltexis: $(stexi)
html-local:
find tame.html/ -name '*.html' -type f \
| xargs sed -i \
's#\(<script.*\)\?</body>#<script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script></body>#'
's#\(<script.*\)\?</body>#<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML" integrity="sha512-tOav5w1OjvsSJzePRtt2uQPFwBoHt1VZcUq8l8nm5284LEKE9FSJBQryzMBzHxY5P0zRdNqEcpLIRVYFNgu1jw==" crossorigin="anonymous"></script></body>#'
clean-local:
-rm -f $(stexi)

View File

@ -214,8 +214,10 @@
skipStartupTypeset: true,
});
</script>
<script type="text/javascript"
src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
<script
src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML"
integrity="sha512-tOav5w1OjvsSJzePRtt2uQPFwBoHt1VZcUq8l8nm5284LEKE9FSJBQryzMBzHxY5P0zRdNqEcpLIRVYFNgu1jw=="
crossorigin="anonymous">
</script>
<!-- global functions for developers -->