Commits

Georg Brandl committed 626c6da

#543: Remove special treatment of None, True and False in literals.

Comments (0)

Files changed (1)

sphinx/writers/html.py

 
     # overwritten
     def visit_literal(self, node):
-        if len(node.children) == 1 and \
-               node.children[0] in ('None', 'True', 'False'):
-            node['classes'].append('xref')
         self.body.append(self.starttag(node, 'tt', '',
                                        CLASS='docutils literal'))
         self.protect_literal_text += 1