summaryrefslogtreecommitdiff
path: root/pygments/formatters/html.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2013-01-09 13:51:21 +0100
committerGeorg Brandl <georg@python.org>2013-01-09 13:51:21 +0100
commit890bf1d3fe5a706fd699f2f7076785695e675f00 (patch)
tree1b14abc0dfeaedd11b424ede065ab3a46af825a4 /pygments/formatters/html.py
parent85d29e399ce3e8651af495ebb08baa0788480f17 (diff)
parentc7baf27b4058f53f8d26be23e45fb3e7772656eb (diff)
downloadpygments-890bf1d3fe5a706fd699f2f7076785695e675f00.tar.gz
Merged in btiffin/cobol-pygments (pull request #72: adding an OpenCOBOL lexer)
Diffstat (limited to 'pygments/formatters/html.py')
-rw-r--r--pygments/formatters/html.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/pygments/formatters/html.py b/pygments/formatters/html.py
index 85a16ff8..075ad022 100644
--- a/pygments/formatters/html.py
+++ b/pygments/formatters/html.py
@@ -5,7 +5,7 @@
Formatter for HTML output.
- :copyright: Copyright 2006-2012 by the Pygments team, see AUTHORS.
+ :copyright: Copyright 2006-2013 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
@@ -596,7 +596,8 @@ class HtmlFormatter(Formatter):
def _wrap_lineanchors(self, inner):
s = self.lineanchors
- i = self.linenostart - 1 # subtract 1 since we have to increment i *before* yielding
+ i = self.linenostart - 1 # subtract 1 since we have to increment i
+ # *before* yielding
for t, line in inner:
if t:
i += 1