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

This commit is contained in:
Georg Brandl 2010-08-05 15:47:10 +02:00
parent 92142bbdb6
commit 5b09e2b41a
2 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,9 @@
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.

View File

@ -240,7 +240,7 @@ class PygmentsBridge(object):
# 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