summaryrefslogtreecommitdiff
path: root/sphinx/highlighting.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-08-05 16:20:12 +0200
committerGeorg Brandl <georg@python.org>2010-08-05 16:20:12 +0200
commit861941e5f16dc7dc90089b17a01f5955960025fe (patch)
treea5149c2b2f38555682917634ff7ffe03b33a6bff /sphinx/highlighting.py
parent0e84c758229f0a71a52b33c5e19d2e0b7d8b0ef1 (diff)
parentdf107e70f8f684c7fd4475f596ffbc3151478f41 (diff)
downloadsphinx-git-861941e5f16dc7dc90089b17a01f5955960025fe.tar.gz
merge with 1.0
Diffstat (limited to 'sphinx/highlighting.py')
-rw-r--r--sphinx/highlighting.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/highlighting.py b/sphinx/highlighting.py
index c168aeffc..6d7109199 100644
--- a/sphinx/highlighting.py
+++ b/sphinx/highlighting.py
@@ -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