Skip to content
Permalink
Browse files
Fix a small typo
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Jul 27, 2017
1 parent 35f9b00 commit c48e10761aa4747f1c2ee1396ab9bcc3647801c0
Showing with 1 addition and 1 deletion.
  1. +1 −1 nikola/plugins/compile/rest/__init__.py
@@ -285,7 +285,7 @@ def depart_Math(self, node):
"""
docutils.nodes._add_node_class_names([node.__name__])
if visit_function:
setattr(docutils.writers.html5_polygot.HTMLTranslator, 'visit_' + node.__name__, visit_function)
setattr(docutils.writers.html5_polyglot.HTMLTranslator, 'visit_' + node.__name__, visit_function)
if depart_function:
setattr(docutils.writers.html5_polyglot.HTMLTranslator, 'depart_' + node.__name__, depart_function)

0 comments on commit c48e107

Please sign in to comment.