Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoseph Frazer <joseph.frazer@ryansg.com>2020-11-03 12:37:38 -0500
committerJoseph Frazer <joseph.frazer@ryansg.com>2020-11-03 12:37:38 -0500
commit18731c9c6240b1ef74dfad905b60d5cd03a43c83 (patch)
treea3ee5bc334023b602f7ad3b3147ebf6b92e9b2b4 /doc/Makefile.am
parenta3d47321d86b842b0ac249ffeab4147b31b1f6c1 (diff)
downloadtame-18731c9c6240b1ef74dfad905b60d5cd03a43c83.tar.gz
tame-18731c9c6240b1ef74dfad905b60d5cd03a43c83.tar.bz2
tame-18731c9c6240b1ef74dfad905b60d5cd03a43c83.zip
[DEV-8571] Update the MathJax CDN
The MathJax CDN stopped working in April 2017. I updated it to the recommended CDN with the last version from April 2017 to ensure it works like it used to work before the CDN stopped. I added the checksum to ensure the content of the script.
Diffstat (limited to 'doc/Makefile.am')
-rw-r--r--doc/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index e10f652..0292036 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -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)