Commits

Georg Brandl committed bef944b

Fix unwanted styling of C domain references (because of a namespace clash with Pygments styles).

  • Participants
  • Parent commits b218e5c

Comments (0)

Files changed (2)

 Release 1.0.2 (in development)
 ==============================
 
+* Fix unwanted styling of C domain references (because of a
+  namespace clash with Pygments styles).
+
 * Allow references to PEPs and RFCs with explicit anchors.
 
 * #471: Fix LaTeX references to figures.

File sphinx/highlighting.py

             # no HTML styles needed
             return ''
         if self.dest == 'html':
-            return self.fmter[0].get_style_defs()
+            return self.fmter[0].get_style_defs('.highlight')
         else:
             styledefs = self.fmter[0].get_style_defs()
             # workaround for Pygments < 0.12