diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2017-01-12 13:03:53 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2017-01-12 13:03:53 +0900 |
commit | 38d6c34f35c60689f22d1f71ce650ca1e3005ec4 (patch) | |
tree | 0677416d0de03a53ee7d348289d8560e511c2bed /sphinx/ext/pngmath.py | |
parent | ef912eb9a3e923e80d5c6a08fda4597a65d591aa (diff) | |
parent | 478306e052d9711170b1fbe63635edef02853484 (diff) | |
download | sphinx-git-38d6c34f35c60689f22d1f71ce650ca1e3005ec4.tar.gz |
Merge branch 'stable'
Diffstat (limited to 'sphinx/ext/pngmath.py')
-rw-r--r-- | sphinx/ext/pngmath.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/ext/pngmath.py b/sphinx/ext/pngmath.py index f4431b07f..0bc941ee2 100644 --- a/sphinx/ext/pngmath.py +++ b/sphinx/ext/pngmath.py @@ -203,7 +203,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, |