Merge pull request #9829 from tk0miya/9450_load_mathjax_as_defer

Close #9450: mathjax: Load MathJax via "defer" strategy
This commit is contained in:
Takeshi KOMIYA
2021-11-10 01:32:43 +09:00
committed by GitHub
3 changed files with 3 additions and 2 deletions

View File

@@ -71,7 +71,7 @@ def test_mathjax_options(app, status, warning):
app.builder.build_all()
content = (app.outdir / 'index.html').read_text()
assert ('<script async="async" integrity="sha384-0123456789" '
assert ('<script defer="defer" integrity="sha384-0123456789" '
'src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js">'
'</script>' in content)