We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d542932 commit 2de0483Copy full SHA for 2de0483
myst_parser/sphinx_ext/mathjax.py
@@ -67,12 +67,11 @@ def override_mathjax(app: Sphinx):
67
if mathjax_opt is not None:
68
# sphinx 4 + mathjax 3
69
# sphinx 9 + mathjax 4
70
- config = getattr(app.config, opt, None) or {}
+ config = getattr(app.config, opt, None) or {}
71
config.setdefault("options", {})
72
if (
73
"processHtmlClass" in config["options"]
74
- and config["options"]["processHtmlClass"]
75
- != mjax_classes
+ and config["options"]["processHtmlClass"] != mjax_classes
76
):
77
log_override_warning(
78
app,
0 commit comments