diff options
Diffstat (limited to 'sphinx/ext/jsmath.py')
-rw-r--r-- | sphinx/ext/jsmath.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sphinx/ext/jsmath.py b/sphinx/ext/jsmath.py index 64d1b3a2c..399c9bc09 100644 --- a/sphinx/ext/jsmath.py +++ b/sphinx/ext/jsmath.py @@ -22,6 +22,7 @@ def html_visit_math(self, node): self.body.append(self.encode(node['latex']) + '</span>') raise nodes.SkipNode + def html_visit_displaymath(self, node): if node['nowrap']: self.body.append(self.starttag(node, 'div', CLASS='math')) @@ -46,6 +47,7 @@ def html_visit_displaymath(self, node): self.body.append('</div>\n') raise nodes.SkipNode + def builder_inited(app): if not app.config.jsmath_path: raise ExtensionError('jsmath_path config value must be set for the ' |