diff options
author | Georg Brandl <georg@python.org> | 2012-02-04 19:59:53 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2012-02-04 19:59:53 +0100 |
commit | a122664b019ec5a42183110c3cb404cb27bfb599 (patch) | |
tree | e1b0726aad0183e56873c3c7ec1214f845c6e91e /pygments/formatters/html.py | |
parent | 01335ec542b0649bf0e574c508fae8564bc3bd71 (diff) | |
parent | 9183c0c2b9fbc856219cb4446cc9b2843ff2675a (diff) | |
download | pygments-a122664b019ec5a42183110c3cb404cb27bfb599.tar.gz |
Merged in GordonMcGregor/pygments-systemverilog (pull request #35)
Diffstat (limited to 'pygments/formatters/html.py')
-rw-r--r-- | pygments/formatters/html.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/formatters/html.py b/pygments/formatters/html.py index 1f0ca680..f6c6400a 100644 --- a/pygments/formatters/html.py +++ b/pygments/formatters/html.py @@ -596,7 +596,7 @@ class HtmlFormatter(Formatter): def _wrap_lineanchors(self, inner): s = self.lineanchors - i = 0 + i = self.linenostart - 1 # subtract 1 since we have to increment i *before* yielding for t, line in inner: if t: i += 1 |