summaryrefslogtreecommitdiff
path: root/sphinx/ext/imgmath.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/ext/imgmath.py')
-rw-r--r--sphinx/ext/imgmath.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/ext/imgmath.py b/sphinx/ext/imgmath.py
index e559530c3..168862d28 100644
--- a/sphinx/ext/imgmath.py
+++ b/sphinx/ext/imgmath.py
@@ -231,7 +231,7 @@ def get_tooltip(self, node):
def html_visit_math(self, node):
# type: (nodes.NodeVisitor, math_node) -> None
try:
- fname, depth = render_math(self, '$'+node['latex']+'$')
+ fname, depth = render_math(self, '$' + node['latex'] + '$')
except MathExtError as exc:
msg = text_type(exc)
sm = nodes.system_message(msg, type='WARNING', level=2,