Skip to content

Commit 2de0483

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent d542932 commit 2de0483

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

myst_parser/sphinx_ext/mathjax.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,11 @@ def override_mathjax(app: Sphinx):
6767
if mathjax_opt is not None:
6868
# sphinx 4 + mathjax 3
6969
# sphinx 9 + mathjax 4
70-
config = getattr(app.config, opt, None) or {}
70+
config = getattr(app.config, opt, None) or {}
7171
config.setdefault("options", {})
7272
if (
7373
"processHtmlClass" in config["options"]
74-
and config["options"]["processHtmlClass"]
75-
!= mjax_classes
74+
and config["options"]["processHtmlClass"] != mjax_classes
7675
):
7776
log_override_warning(
7877
app,

0 commit comments

Comments
 (0)